I have one *.cpp file but I cant it compile with MS VC++ ! How to compile signle .cpp file in VC++? Please help me!
StephanJos
-4
Newbie Poster
Recommended Answers
Jump to PostUnder "Build", click "Build Solution", or just hit F7.
If there is no "Build" in the menu, then you need to create a project first. Click File->New->Project.
Jump to PostYou can work with a single file but it has to be in a project.
Why is that? You probably ask. Well you might add some other files later(resources, databasefiles, etc.) if you stay with one file OK, but it's handy if you have more files to keep them in …
Jump to PostSelect the "File" menu and select "New Project...".
A window opens.
Under the many options select Console Application.
All 10 Replies
Evan M
1
Light Poster
StephanJos
-4
Newbie Poster
ddanbe
2,724
Professional Procrastinator
Featured Poster
StephanJos
-4
Newbie Poster
ddanbe
2,724
Professional Procrastinator
Featured Poster
Evan M
1
Light Poster
StephanJos
-4
Newbie Poster
Evan M
1
Light Poster
StephanJos
-4
Newbie Poster
tonief
-2
Newbie 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.