C++ quick facts
Compiler settings Use –pedantic-errors compiler flag. It will guarentee that code is compiled according to used c++ standard. If this flas is not used, sometimes, compiler extensions allow some specific code which is not compatible with standard to compile without an error. For example – If flag is not used then, g++ compiler will give …