If it is so terrible problem, why c++ allow me to do it?
This is a discussion on My binary converter trigger question about vector, datatype, sizof op. etc... within the C++ Programming forums, part of the General Programming Boards category; If it is so terrible problem, why c++ allow me to do it?...
If it is so terrible problem, why c++ allow me to do it?
It doesn't. The warning says expressly that in ISO (Standard) C++, you can't. Just because you get warning instead of an error, and an executable, it's not OK. Try compiling with -Werror and all warnings become errors, anyway.
Originally Posted by phantomotap