hey all. im presently a uni student and have already learnt c/c++ (the basics anyway) and one of my units this year is teaching us C. im curious about the use of /* */ comments in C code. i thought those types of comments are C++ and should only be use in C++ code for compatablilty reasons? am i correct assuming this?
another thing that is slightly annoying is the use of
another thing that is slightly annoying is the use of
[Error: Irreparable invalid markup ('<iostream.h>') in entry. Owner must fix manually. Raw contents below.]
hey all. im presently a uni student and have already learnt c/c++ (the basics anyway) and one of my units this year is teaching us C. im curious about the use of /* */ comments in C code. i thought those types of comments are C++ and should only be use in C++ code for compatablilty reasons? am i correct assuming this?
another thing that is slightly annoying is the use of <iostream.h> in some of the C++ examples. isnt this header outdated? shouldnt it be <iostream> using namespace std ?
another thing that is slightly annoying is the use of <iostream.h> in some of the C++ examples. isnt this header outdated? shouldnt it be <iostream> using namespace std ?
