is there an easy way to distinguish between c and c++? I mean how do I know if a function or a header file is c or c++? is it important at all to be able to tell what is c and what is c++ when I'm going to learn MFC?
Printable View
is there an easy way to distinguish between c and c++? I mean how do I know if a function or a header file is c or c++? is it important at all to be able to tell what is c and what is c++ when I'm going to learn MFC?
Yep. The easiest way is to get both studied. After that you're gonna have no questions of this sort. Trust me, it shouldn't take a lot of time, maybe a year or something. :)Quote:
is there an easy way to distinguish between c and c++?
More unreliable way is asking google.
Quote:
is there an easy way to distinguish between c and c++?
By the time you know the answer to the first question, you will already know the answer to the second question. Simply start programming both and you will soon see the differences and the hows and why's.Quote:
is it important at all to be able to tell what is c and what is c++ when I'm going to learn MFC?
C functions without input must have "(void)" as input while C++ have both "()" and "(void)".
C++ have the keyword "class" because it is almost object oriented (without garbage collecting).