Looking for a software to practice c++ programing language in windows 7 64 bit

Ijack

Distinguished
What is the program supposed to do? If it is just displaying some result then it is probably doing so, then closing the window when the program runs before you can read the display. You can:

1. Run from a command line rater than the IDE.

2. Debug rather than run.

3. Insert some call (e.g. Read a character) to delay the program.
 

Shammikit

Honorable
Nov 30, 2013
35
0
10,580
0
i tried using it.it compiles sucessfully but when i hit run the black colour window pops up and closes within a second.when i hit run again nothing happens
 

USAFRet

Splendid
Moderator


Then you have other issues going on.
What that might be, I couldn't begin to guess.
 

Shammikit

Honorable
Nov 30, 2013
35
0
10,580
0
This is what i get in the output screen:

'hello.exe': Loaded 'C:\Users\Shammi\Documents\Visual Studio 2010\Projects\hello\Debug\hello.exe', Symbols loaded.
'hello.exe': Loaded 'C:\Windows\SysWOW64\ntdll.dll', Cannot find or open the PDB file
'hello.exe': Loaded 'C:\Windows\SysWOW64\kernel32.dll', Cannot find or open the PDB file
'hello.exe': Loaded 'C:\Windows\SysWOW64\KernelBase.dll', Cannot find or open the PDB file
'hello.exe': Loaded 'C:\Windows\SysWOW64\msvcr100d.dll', Symbols loaded.
The program '[2484] hello.exe: Native' has exited with code 0 (0x0).
 

USAFRet

Splendid
Moderator


Info about your PDB file.
http://msdn.microsoft.com/en-us/library/yd4f8bd1%28vs.71%29.aspx
 

Ijack

Distinguished
What is the program supposed to do? If it is just displaying some result then it is probably doing so, then closing the window when the program runs before you can read the display. You can:

1. Run from a command line rater than the IDE.

2. Debug rather than run.

3. Insert some call (e.g. Read a character) to delay the program.
 

Place a breakpoint on the last statement in your program, this will make it stop before closing the window.
 
Thread starter Similar threads Forum Replies Date
C Apps General Discussion 0
I Apps General Discussion 0
M Apps General Discussion 1
Johnny5 Apps General Discussion 2
kep55 Apps General Discussion 1
I Apps General Discussion 2
gabriel.leijonhufvud Apps General Discussion 6
M Apps General Discussion 5
W Apps General Discussion 1
A Apps General Discussion 3
T Apps General Discussion 5
D Apps General Discussion 1
S Apps General Discussion 1
O Apps General Discussion 3
O Apps General Discussion 2
T Apps General Discussion 3
J Apps General Discussion 2
C Apps General Discussion 1
R Apps General Discussion 3
P Apps General Discussion 5

ASK THE COMMUNITY

TRENDING THREADS