Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

little_red_warrior

C/C++

This topic is 5505 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Advertisement
<< Should i learn C first? >>

I say yes. C++ is just C with classes. You don''t need to master classes, or even program with them. Lamothe is straight C, Carmack (Doom, Quake) is straight C.

Phil P

Share this post


Link to post
Share on other sites
But if you learn C first you''ll have to break some habits. You''ll understand C++ soon enough. Some things you don''t need to understand to write a good program but it''ll help if you do. Just don''t worry about it too much, everything will fall into place in time.



There''s no town drunk here, we all take turns.
Velocity Gaming Force

Share this post


Link to post
Share on other sites
I say learn c++, c is harder to read like cows said and classes aren''t a bad thing to have around even if you don''t really need them.

Share this post


Link to post
Share on other sites
Any language is going to seem like jibberish when you are first learning it. Since C and C++ are to different languages it really doesn''t matter which you learn first. Since you started with C++ you might as well stick with it.

And why exactly is C harder to read? Seems perfectly fine for me. Perhaps you are just trying to read code from the IOCCC?



Qui fut tout, et qui ne fut rien
Invader''s Realm

Share this post


Link to post
Share on other sites
I suggest you stick with C++ since you already started learning it. C and C++ are quite similar in a way that they have the same structure.So, that''s it. Stick with C++.

Share this post


Link to post
Share on other sites
IMHO i think you would pick up more bad habits by learning C first, so just stick with C++. C++ is, afterall, a language in its own right. You dont have to go past the first line of a program to find a differenec between the 2 languages, e.g. main() in C is not the same as main() in C++, in C () means an unspecified amount of parameters iirc, in c++ it means no parameters. Little things like that can lead to confusion when you start mixing the two.

[edited by - quant on August 6, 2003 5:56:24 AM]

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!