my bad..i thought c# was for i=1 to i=10 //code here next i dont write c# my friend told me that..he was obv bsing thanks for the heads up
He was probably confusing it with VB and/or VB.NET, where it looks like this: For i = 0 To 5 // Loop Next i
I can't think of anything that you can do in C++ but can't do in C#. However C++ is the better choice for developing memory and CPU intensive applications such as a game. That's because a C# application uses its own memory management system and using C++ in computer games would be more efficient performance-wise.
What is C+? Anyway, practically speaking C++ is a stronger language than Java for many reasons. More often than not though, people cannot handle it, get confused, and move on to Java that they automatically deem better. The same goes for C#. This isn't to say Java is bad, by all means it's a wonderful language. But in all seriousness Java is yet to catch up with C++ in terms of real-time rendering (or the low level type of stuff). C++ and Java are both cross-platform, if you know what you are doing. Java has the advantage of being compiled into bytecode where all you need is something to run it. C++ on the other hand has to be compiled on the machine it's going to be run on. Looking at C#, don't even think about going cross-platform so easily, and because it's Microsoft proprietary, don't use it unless that's all you want. I don't advise anyone to ever use C# over Java, Java wins by far. The problem of picking with language really depends on what you want to do. Networking, GUI, Cellphone games, and the like go with Java. If you want to make some PC games, low-level stuff (like people mentioned), go with C++. You'll have things you'll struggle with on both sides. Some people struggle with threads in Java, other's struggle with pointers in C++. It all depends. If you can, and are willing, pick up both as things are always moving forward and sooner or later C++ probably won't be around and thrown in the pile of older languages. In terms of speed, Java has really caught up. This isn't an issue anymore, it's more or less what you want to do with the language.
Both C++ and JAVA are OOPs based , as both of these follow the concept of data hiding , data abstraction , data excasulation , polymrphism and inheritance , but we can say that most of the codes which we have to create in C++ for a specifc task are already built in there in JAVA, so undoubtedly we can work on a wider field,moreover JAVA provides a varietf ofplatform for dynamic memory allocation of varialbles which are not very common in C++ , so over all we can say that Java is definitely advanced version if C++ , but if u don have the concept of C++ u cant even go for JAVA....