   C and C++, Whats the difference?
  All I seem to find are C tutorials for windows game programming and I know the basics C++ and I want to program in C++, so what is the difference between the two, can someone tell me.   THX,JAP 
  The biggest difference that I know of is that C++ is object oriented and C isn''t. I''m a C++ programmer.   There''s no town drunk here, we all take turns. ;  C++ was intended to support object oriented programming ...C++ is a superset of C, (In other words C is the foundations upon which C++ was built).To make a quote from sams 'teach yourself C++ in 21 days' ..."C++ fully supports object oriented programming, including the three pillars of object oriented development: encapsulation, inheritence, and polymorphism."Thats the main difference (obviously as well as some differences in syntax), C doesnt support these three pillars whereas C++ does. Edit Again: To change my wording a little. [edited by - Tiffany Smith on July 14, 2003 1:05:55 PM] [edited by - Tiffany Smith on August 4, 2003 1:48:32 AM];  The difference is C is good and C++ is bad. :D   "Anyone with half a brain can seethat object-oriented programming iscounter-intuitive, illogical and inefficient."  - Bjarne Stroustrup ;  Most (but not all!) C programs are also C++ programs. Most C/C++ compilers will be nice enough to let you blend languages without any complaints, although it is highly recommended that you stick with a single language for consistency and bug minimization. ;Object Orientation is a way of thinking not a language.  You can write fully object orientated code in C.  It just might not be as nice.C has a standard that works while C++ doesn''t.  ;  A good C   programmer can also get things done quicker than a good C++   programmer, Even if "C++ allows you to reuse code easier." Anyone who says different doesn''t know what they are talking about.   "Anyone with half a brain can seethat object-oriented programming iscounter-intuitive, illogical and inefficient."  - Bjarne Stroustrup ;quote:Original post by jmg5  A good Cprogrammer can also get things done quicker than a good C++programmer- Bjarne Stroustrup   Not challenging you, but can you explain that? -----------------------------------------------------------Like a sponge! ;quote:Original post by jmg5  A good Cprogrammer can also get things done quicker than a good C++programmer, Even if "C++ allows you to reuse code easier." Anyone who says different doesn''t know what they are talking about.I guess I don''t know what I''m talking about then...Care to back up your statement? If you know C++, you have all the tools available to a C programmer and more so I completely disagree with you. ;quote:Original post by jmg5  A good Cprogrammer can also get things done quicker than a good C++programmer, Even if "C++ allows you to reuse code easier." Anyone who says different doesn''t know what they are talking about.   That''s elitist crap.   -Agent1