Click here to Skip to main content
15,890,512 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: My Vote of 1 Pin
H.Brydon30-Apr-13 19:02
professionalH.Brydon30-Apr-13 19:02 
QuestionHow to make a EXE in windows Pin
OmarSH27-Apr-13 7:10
OmarSH27-Apr-13 7:10 
AnswerRe: How to make a EXE in windows Pin
NotPolitcallyCorrect27-Apr-13 16:50
NotPolitcallyCorrect27-Apr-13 16:50 
GeneralRe: How to make a EXE in windows Pin
OmarSH28-Apr-13 6:29
OmarSH28-Apr-13 6:29 
GeneralRe: How to make a EXE in windows Pin
dusty_dex28-Apr-13 7:00
dusty_dex28-Apr-13 7:00 
GeneralRe: How to make a EXE in windows Pin
«_Superman_»28-Apr-13 19:18
professional«_Superman_»28-Apr-13 19:18 
GeneralRe: How to make a EXE in windows Pin
Richard MacCutchan28-Apr-13 22:25
mveRichard MacCutchan28-Apr-13 22:25 
AnswerRe: How to make a EXE in windows Pin
Brandon-X1200028-Apr-13 11:29
Brandon-X1200028-Apr-13 11:29 
Here's how to make a simple .exe (application executable program) in Windows, copy this source to a file that will call main.cpp

C++
// We will declare our header files as our first column
#include <iostream>

// Declare namespaces as the second column
using namespace std;

// "int main()" serves as the starting point for our program
int main()
{
     cout << "Hello user!" << endl;

     return 0;
}


Compile this and go to your project's folder and double-click on a folder called bin and then double click on the folder called debug. If its not in there click on the other folder which is called release, if you managed to accidently compiled a release version of your program.

And there it is, your first made .exe file.Cool | :cool:
Simple Greetings and Regards,
Brandon

Programming in C and C++ now, now developing applications, services and drivers (and maybe some kernel modules...psst kernel-mode drivers...psst).

Many of life's failures are people who did not realize how close they were to success when they gave up. - Thomas Edison

GeneralRe: How to make a EXE in windows Pin
Richard MacCutchan28-Apr-13 22:23
mveRichard MacCutchan28-Apr-13 22:23 
GeneralRe: How to make a EXE in windows Pin
OmarSH29-Apr-13 11:07
OmarSH29-Apr-13 11:07 
QuestionRe: How to make a EXE in windows Pin
David Crow29-Apr-13 16:33
David Crow29-Apr-13 16:33 
AnswerRe: How to make a EXE in windows Pin
OmarSH30-Apr-13 6:16
OmarSH30-Apr-13 6:16 
QuestionRe: How to make a EXE in windows Pin
David Crow30-Apr-13 6:27
David Crow30-Apr-13 6:27 
AnswerRe: How to make a EXE in windows Pin
OmarSH30-Apr-13 6:50
OmarSH30-Apr-13 6:50 
QuestionRe: How to make a EXE in windows Pin
David Crow30-Apr-13 7:12
David Crow30-Apr-13 7:12 
AnswerRe: How to make a EXE in windows Pin
OmarSH30-Apr-13 8:10
OmarSH30-Apr-13 8:10 
QuestionRe: How to make a EXE in windows Pin
David Crow30-Apr-13 8:45
David Crow30-Apr-13 8:45 
AnswerRe: How to make a EXE in windows Pin
OmarSH30-Apr-13 10:18
OmarSH30-Apr-13 10:18 
SuggestionRe: How to make a EXE in windows Pin
David Crow30-Apr-13 10:28
David Crow30-Apr-13 10:28 
QuestionClips Pin
a.fatemeh26-Apr-13 20:16
a.fatemeh26-Apr-13 20:16 
QuestionRe: Clips Pin
Richard MacCutchan26-Apr-13 22:17
mveRichard MacCutchan26-Apr-13 22:17 
AnswerRe: Clips Pin
a.fatemeh26-Apr-13 22:22
a.fatemeh26-Apr-13 22:22 
GeneralRe: Clips Pin
Richard MacCutchan26-Apr-13 23:17
mveRichard MacCutchan26-Apr-13 23:17 
GeneralRe: Clips Pin
a.fatemeh26-Apr-13 23:26
a.fatemeh26-Apr-13 23:26 
QuestionHow can I capture screen without layered windows on Windows 8 Pin
thanh_bkhn25-Apr-13 23:50
professionalthanh_bkhn25-Apr-13 23:50 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.