Wouldnt an exe file be created automatically as soon as you compile your program? It's suppose to be in your debug file that is also created when you compile.
actually i want to install the .exe file in another system. ( so you know in vb.net create a setup file go to the publish in project properties and do something to make a .exe ) like that any way in c++ ?
i don't know whether my question is right or wrong ? please forgive me .
I'm afraid the publish function is only available in C# and VB.NET, but not in C++ and also not in C++ / CLI. You need an external program to create a setup project.
You can try the free Inno Setup. http://www.jrsoftware.org/isinfo.php