title: Want to run a program on some unknown system
body: <p>I have been working on a VS 2005 project and have successfully generated an exe file which works fine on my system. However when I tried to run it on some other pc it didnt run. It throws up the error message "the system cannot run the specified program". Can someone tell me how to make my code immune to such message i.e. system independent?</p>
  
  <p>platform used: Windows XP, VS 2005</p>
  
  <p>the extension of all my code files is cpp but I know only c and thats what I wrote inside them.</p>