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

Recommended Answers

All 2 Replies

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

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

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.