@: My code has tested successfully on Microsoft Visual Studio 2010, which supported C++0x.
I have installed newest TDM installation. For example, in D:\C++0x\
a) I go to toolchain Executables tab and typing above path. (and I have tried D:\C++0x\bin\, too) But, when I compiled, nothing compiled yet, mean that Code::block doesn't recognize my installation, yet.
b) If I use old version of MinGW, I still have option: [-std=c++0x] in Compiler Setting tab, but when I compiled, of course Compiler has error
@: for your program, when compile, It will have this error: ISO C++ forbids declaration of 'x' with no type. (of course !!!)
So, who give me some advice, please.