Hi there, I am new to C++ and trying to get my head around it. I am writing really simple and small programs and I have Visual C++. Now, can anybody summarize how I can run a program I wrote with C++ on Visual? The guide that comes with the product doesn't seem to be that helpful, so I was just wondering if you guys can help me/telling me where to find a simple guide on how to run my own programs.
Thanks
Violet_82
89
Posting Whiz in Training
Recommended Answers
Jump to PostYou should be able to open any standard *.cpp and *.h files without any special steps. What exactly is the issue you are having?
Are you trying to open the sources in VC++ and can't? Or are you trying to compile them after writing them for a different compiler …
Jump to PostNo, it's not your mistake. The pre-compiled headers system can be a royal pain. Unfortunately, I can't help you fix that, I haven't dealt with the issue often enough myself.
I think you just need to exclude the project files "stdafx.h" and "stdafx.cpp" to get around it.
Hopefully …
All 6 Replies
Fbody
682
Posting Maven
Featured Poster
Violet_82
89
Posting Whiz in Training
Fbody
682
Posting Maven
Featured Poster
athlon32
56
Junior Poster in Training
Rajesh R Subram
127
Junior Poster in Training
Violet_82
89
Posting Whiz in Training
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.