Hello.
Why does it compile without errors and warnings?
Code::Blocks 17.12
Default MinGW
PS. Sorry for my english :(
Because it is valid code!
Please learn the name and version of your Compiler.
Please find an website for newbie coding questions!
Please read the rules for this website!
http://forums.next.codeblocks.org/index.php/topic,9996.0.html (http://forums.next.codeblocks.org/index.php/topic,9996.0.html)
Tim S.
Compiler: Default Code::Blocks 17.12 MinGW
So, after you find a support site for your Compiler tell them the Compiler version info!
Tim S.
Thanks.