This code will create for you an application. we are goig to use visual c++ for it
open visual, c++.
click file then New.
in the New dialogue box click projects.
click win32 application.
give it a name eg my_project.
and click finish.
Then again click file.
click files.
the C++ source.
give it a name eg CMyApp.
click ok.
specify that it is an empty application.
finish.