System::IO error

Hello It's Me!
I've been trying to create a simple WinApi program which was meant to save and load simple txt files but unfortunately it does not work (Yeah I'm sure you've figured it out already) and I'm getting strange errors when trying to use namespace System::IO. I'm using Code::Blocks Visual C++ 2010 compiler.

I guess that the source code is not needed for this one-the rest of my program works well. Here comes the error log:
error: 'System' has not been declared
error:'IO' is not a namespace name
error: expected namespace-name before ';'

//Extremely thankful for any advise on this one
Topic archived. No new replies allowed.