954,496 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

exe file for VC++ program

i have created a vc++ empty project in vs 2008, then i have added a simple c++ file and code is as follows

#include<stdio.h>
int main()
{
printf("abc");
}


now i want to make an exe file of this,
actually i have complete project and i an exe of that project

haseeb1431
Newbie Poster
11 posts since May 2009
Reputation Points: 10
Solved Threads: 1
 

Welcome to Daniweb!

To produce an executable, you need to "compile" or "build" the code. Also, you should use #include <iostream> and std::cout << "abc"; instead of #include <stdio.h> and printf("abc");


Hope that helps,

Dave

daviddoria
Posting Virtuoso
1,996 posts since Feb 2008
Reputation Points: 437
Solved Threads: 204
 

yar i have included but still i cannot find the exe file in the debug folder

Welcome to Daniweb!

To produce an executable, you need to "compile" or "build" the code. Also, you should use #include <iostream> and std::cout << "abc"; instead of #include <stdio.h> and printf("abc");

Hope that helps,

Dave

haseeb1431
Newbie Poster
11 posts since May 2009
Reputation Points: 10
Solved Threads: 1
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: