[VC++]Disable console app close wen code is done

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Topic says it all.

after the app is done with the code it exit the console window without asking
how to disable it?


in C# its

Console.Read();

in VB.NET its

Console.Read()

Thx
 
Hi,

ShadowRayz said:
Topic says it all.

after the app is done with the code it exit the console window without
asking
how to disable it?


in C# its

Console.Read();

in VB.NET its

Console.Read()

In native C++ one way is

system("pause");
 
Hi,
'system' : undeclared identifier

#include <stdlib.h>

Please use the MSDN library to look up C++ documentation which states which
inludes and libs you will need.
 
Back
Top