问个问题
/*printout.c --使用转换说明符*/#include <stdio.h>
#define PI 3.141593
int main()
{
int number = 5;
float expresso = 13.5;
int cost = 3100;
printf ("The %d CEOs drank %f cups of expresso,\n",number,
expresso);
printf ("The value of pi is %f,\n",PI);
printf ("Farewell! thou art too dear for my possessing, \n");
printf ("%c%d\n",'$',2*cost);
return 0;
}
怎么让它运行之后 dos窗口不立即消失呢
我用的是VC++
[ 本帖最后由 taokuyou 于 2011-1-6 23:57 编辑 ]