C/C++
I am learning c++ but it all still seems like a whole lot of gibbrish to me. Should i learn C first?
«—Ļĩŧŧłę–Ŗęđ–ЩдґґÎðr—»
<< 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
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
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
There''s no town drunk here, we all take turns.
Velocity Gaming Force
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.
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
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
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++.
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]
[edited by - quant on August 6, 2003 5:56:24 AM]
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement