Advertisement

Transition from C++ to C.Tips needed.

Started by May 22, 2001 04:41 PM
21 comments, last by Diodor 23 years, 8 months ago
I suppose I''m relatively new to programming, and I learned V++ and not C. What I don''t understand is why there is such a distinction between the two; am I correct in saying that learning C++ will teach you what you would need to learn from C, just with OOP and the other major features of C++? What I mean is, isn''t just about every program written in C compatible with a C++ compiler? Backwards compatibility? While any OOP program written in C++ is not compatible with a C compiler (without doing some fancy struct work)?

So, why start low level when everything you need is in the newer language, plus more? Thats like learning windows 95 first and then moving up to 98 and then ME; ME functions the same as 95, just with more features. One familiar with ME will be just fine using 95, but not vice versa (well, MS has done a good job of making their crap look similar, but stay with me for the sake of the analogy =). Unless there is some incredible speed increase (which there''s not) or some special define capabilities =) I don''t see what C has that C++ doesn''t cover in backwards compatibility or similar methods (both have same syntax, structs, just C++ has more..)

Some people hate classes or whatever in C++, thats fine, but you can program with a C++ compiler and use defines and structs and one header file, and your program would run the same as it would with a C compiler would it not?

So why not start with the newer "system"? =)

-Phil Crosby
www.philisoft.com
www.graphics-design.com
-Phil Crosbywww.philisoft.comwww.graphics-design.com
quote:
Original post by -TheDragon

I suppose I''m relatively new to programming, and I learned V++ and not C.


Whoa.... V++. Cool. What''s it like?

==========================================In a team, you either lead, follow or GET OUT OF THE WAY.
Advertisement
=P

-Phil Crosby
www.philisoft.com
www.graphics-design.com
-Phil Crosbywww.philisoft.comwww.graphics-design.com

This topic is closed to new replies.

Advertisement