0

Hi!

This will probably be an easy question to answer but the solution is eluding me. I just started writing c++ programs and they work fine on my computer (I use visual studio to compile them). the problem I am having is I would run my program on another computer and I simply cant figure out how to do that without taking the source code and re-compiling it on the second computer.

Is there a way to make an .exe file or something similar that I can just put on the other computer and have it run?? Any help would be very greatly appreciated.

3
Contributors
3
Replies
4
Views
7 Years
Discussion Span
Last Post by treasure ola
0

That's called deploying an application in the solution space.

In the visual C++ there is an option called build release.
and in your project directory there is a sub directory called release.

and the difference between the release and debug is release is without
debug symbol tables and dead optimized.

>> Is there a way to make an .exe file or something similar that I can just put on the other computer and have it run??
yes you can.and if you have used the shared libraries in your code you have to
copy them too.Such as DLL's.

If you're doing this according to the industry standards , then read this too.
http://msdn.microsoft.com/en-us/library/zebw5zk9.aspx

ps:but, I never deployed an application which is according to the industry standards.

0

With this information hopefully I'll be able to figure out how to do the 'build release'? Thanks for the quick response :)

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.