Guidance
指路人
g.yi.org
Guidance Forums / wxWidgets (wxWindows) in C++ / little prob

Register 
注册
Search 搜索
首页 
Home Home
Software
Upload

  
Forum List • Thread List • Refresh • New Topic • Search • Previous • Next First 1 Last
Message1. little prob
#3291
Posted by: 2004-01-31 21:54:31
hi would like to know a simple thing concerning dev c++ version 4
when i type a code i'll do execute but i only get the command prompt in one second(open and close very fast), what is the command i have to add
to the code to get a stable command prompt window
thanxs
Message2. Re: little prob
#3294
Posted by: upCASE 2004-02-01 01:50:09
Hi!
For questions like this I'd recommend having a look at the bloodshed software forum and reading the "READ THIS BEFORE..." thread.
Anyway, your prob can easily be solved:

#include <stdio.h>
#include  <stdlib.h>

int main()
{
  printf("Hello Worldn");

  system("pause");
  return 0;
}
upCASE
-----------------------------------
If it was hard to write, it should be hard to read!- Do. Or do not. There is no try!
Forum List • Thread List • Refresh • New Topic • Search • Previous • Next First 1 Last
掌柜推荐
 
 
¥1,800.00 ·
 
 
¥489.00 ·
 
 
¥288.00 ·
 
 
¥908.00 ·
 
 
¥748.00 ·
 
 
¥264.00 ·
© Sun 2024-11-24  Guidance Laboratory Inc.
Email:webmaster1g.yi.org Hits:0