I'm sort of a beginner at coding and C++ but I have successfully created a few small programs. Now my problem is that if I send my friend the program I just wrote (using Microsoft Visual C++ compiler) they can't open it. They are using XP like me but it still gets an error. It is just a simple program that says hello world so it isn't like I wrote the program wrong. Help?
Phlip
0
Newbie Poster
Recommended Answers
Jump to PostI'll bet my boots that you compiled the program for DEBUG. Change the setting to use RELEASE and it will probably work ok. How to change from debug to release depends on the version of the compiler you are using. If you already compiled for release then there couild be …
Jump to PostWhat version of the compiler are you using? Are the operating systems on the two computers the same? Can you post the code to your program ? What are the exact error messages you get from the operating system when you try to run the program (copy/paste them here) ?
All 8 Replies
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
Phlip
0
Newbie Poster
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
Phlip
0
Newbie Poster
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
mitrmkar
1,056
Posting Virtuoso
Nick Evan
4,005
Industrious Poster
Team Colleague
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.