Don't forget to remove Dev-C++ tracelessly from your system before you install Code::Blocks.
If you don't, Code::Blocks might try to use the ancient version of MinGW that comes with Dev-C++.
There is no valid reason to hide the user's saved game status. Just write it to a normal file. If you are concerned about discouraging the user from playing with his status in the game, write the file in binary, or encode it with a two-way function.
If you must make it a hidden file, use the Windows API to do it, instead of using system().
And all you giving him grief about his choice of IDE instead of helping answer his questions... shame.
EDIT: I had a paragraph in here showing how to use the "EncryptFile(...)" function, forgetting that it means something completly different from what you are talking about.