how to run a C++ program after its been compiled

Discussion in 'C++' started by spamwich56, Aug 30, 2010.

  1. spamwich56

    spamwich56 New Member

    Joined:
    Aug 30, 2010
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    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.
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice