#ifndef __cpluplus
std::cout << "error\n A C++ compiler is required!" << std::endl;
return -1;
#endif
The above snip says, if __cplusplus has not been defined print “bla bla” and
return –1. Which means that if I am using __cplusplus it should NOT print
anthing, right? So, am I using the C or the C++ compiler? I am really confused.
TIA
------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk
_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public