69,373
社区成员
发帖
与我相关
我的任务
分享
#include <stdio.h>
#include <stdlib.h>
int main(int argc, char *argv[])
{
printf("This is a test of the escape sequence of \'\\n\'.\n");
getch();
//system("PAUSE");
return 0;
}
[/quote]
现在不同的操作系统对两者的处理不同,有的只需要\n,有的需要两者合用#include <stdio.h>
#include <stdlib.h>
int main(int argc, char *argv[])
{
printf("This is a test of the escape sequence of \'\\n\'.\n");
getch();
//system("PAUSE");
return 0;
}