Friday, July 31, 2009

C/C++ anyone?

is C++ hard to learn? i wanna know cuz soon i plan on making games one day...if anyone learnt C/C++, plz tell me how hard it was....

C/C++ anyone?
Actually, C and C++ are pretty easy languages to learn.





The hard part is "Windows Programming" including the Windows API, MFC, and any other graphic API's (DirectX or other).





Most people who post on this site are really commenting on the Windows API and not the C/C++ language itself: "difficult, steep learning curve, etc." This is the trouble, if you're thinking of programming a Windows game, you're going to have to learn the Windows stuff--the hard part.





In your mind, always separate the language from the platform. It'll make understanding easier. And remember, the Mars rover does not have a Windows OS. Yet, most of it is programmed in C/C++. (I believe the underlying system is VxWorks).





Good luck.
Reply:C/C++ is a pretty difficult language. In my opinion, it's because it's so versatile. You can do so much with it and the syntax isn't as limiting for many functions like other languages (example: even though this many not mean much to you yet, C/C++ lets you do almost any kind of Overloading. This can pose troubleshooting problems if you don't know what you're doing). This makes it very powerful to use, but, you have to know exactly what you want the compiler to do.
Reply:It all depend on how good you are.
Reply:Depends on how well good your are with computers





I would say it's so-so, there are harder ones. I started learning in Augest during school. I can now make games like War, tic-tac-toe, ect.


Wasn't extreamly hard, but takes alot of logical thinking.
Reply:C++ is one of the harder programming languages to learn, however it isn't to bad to learn. It took me 3 years to learn it from my college. However, if you want to make games such as Halo 3 (which is written in C++) or other "state of the art" games that have intense graphics math plays a huge role in the programming. You'd be shocked to see how much higher level math as calculus and linear algebra goes into the making of such games. So a good word of advice to you would be to get really really really good at math and physics such as calc 3 by the time ur done with school. Just because you know C++ doesn't mean you can write games because it is probably the hardest form of programming. For now though start off simple and just learn the basic parts of C++, because it will take a few years before you can do sweet graphic work, but in the end it will all pay off!
Reply:its ez mode
Reply:it depends on how much programing experience you have. i leanred C last term and it was fairly easy but i have been in CS for 5 years


No comments:

Post a Comment