C++
its the most usefull :D
Printable View
C++
its the most usefull :D
That depends!Quote:
Originally posted by !shira!
C++
its the most usefull :D
In Visual Studio 6, yes! In Visual Studio .NET, all languages share the same functionality, speed, and their all compiled the same way!
I have VC++ 6.0 :DQuote:
Originally posted by hu flung dung
That depends!
In Visual Studio 6, yes! In Visual Studio .NET, all languages share the same functionality, speed, and their all compiled the same way!
While I agree that OOP can make it easier to add things to programs, it can also muck things up. There are a lot of bad programmers out there, and a poorly written OOP app tends to be harder to figure out than a poorly written structured program, IMO. Classes can make things easier, but are just too easily abused. A lot of really good programmers I know try to use C++ classes sparingly and stick mainly with structs and functions. I guess I'm really refering to C++ than OOP in general. The iostream libraries, reference params, namespaces, etc. are often just more annoying/confusing to use than the plain old C conventions. Obviously this is all subjective, but that's all I was getting at in the first place :)Quote:
I don't see why this is debatable. Maybe you need to brush up on OOP and Polymorphism? OOP makes it so much easier to just add a component or feature into a program. Maybe you haven't learned OOP and are guessing (which is fine). But I just want to clear up that OOP makes larger applications easier to deal with and modify.
I'd say the best language to learn at the moment would be C. It will help get you up to speed with how people program today, it is what probably almost every app on your computer is written in, and it is a lower level language than most others so you will learn a bit more about what is going on in your computer as you learn C.
You can "debug" C, in that you can trace through a program, line by line. But if you are refering to debugging like when a program asks you if you want to debug or when you see a memory dump, then you will need to learn assembly. Assembly can be tough to learn, but it will help you understand what is going on and learning it is a good thing.
I agree with biosx, learn proper structured programming first -- it's worth the time, and it is very important that you know it.
Within objects there is structured code, it's just how it is, all programming is based on five structures and anything beyond that depends on those five structures.
If you want to go to C++, learn C first. Plus, knowing C is usually worth some money in the real world -- it's actually a fairly rare language since most C++ and Java programmers skip the basics (then I have to teach them later).