Newbie - How do I know if I'm writing C code?
I'm new to C, have Borland's C/C++ 4.55 compiler installed on a Win98 system, am using SourceForge.net's Chimera PU239 IDE and have searched the forum for this question (actually, the question popped up while reading one of the 'C vs C++' threads - I love religious discussions...). I also have several intro books on C .
C and C++ are not the same language.
My compiler handles both C and C++.
The IDE is basically an amped up text editor with stuff to launch the compiler and do some simple syntax checking.
If I want to write C, how do I not mistakenly write C++ code? I know to stay away from CLASS, but are there headers I shouldn't use? What about keywords unique to C++? Other stuff I don't even know to ask about?
If the answer isn't something simple, pointers to the appropriate resources would be appreciated. If the answer is simple, well, I always start something new by asking really stupid questions and keep asking untill I get smarter ;-)
I'm hoping to use a C API available with another program (Lotus Notes) which also has a C++ API and I want to be sure I don't do anything that will damage databases or crash the server.
TIA for any responses.