Hi

I'm new to MSVC. I've entered a program into the IDE and it's compiled successfully, but no executable is generated and when I hit CTRL&F5 I get a dialogue window asking me for an executable filename, which when I try to enter it won't accept .. any thoughts

Peter

Recommended Answers

All 2 Replies

To generate an executable you should 'Build' it, compiling is not enough.
If you've compiled it, you still have to 'link' it to an executable file.
The 'Build' menu command will do these things both: it first compiles your source, and thereafter it links your compiled object file to an executable file.

peter, please use descriptive thread titles in the future :)

commented: Yes, same came to my mind :) +11
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.