游戏开发论坛

 找回密码
 立即注册
搜索
查看: 1336|回复: 3

勿进!测试发贴效果,没有预览功能啊.没办法,只好这样.

[复制链接]

12

主题

21

帖子

32

积分

注册会员

Rank: 2

积分
32
发表于 2006-3-31 07:04:00 | 显示全部楼层 |阅读模式
#include <cstdlib>
#include <iostream>
#include <string>

using namespace std;

int main()
{
     cout << "hello,world!" << endl;
    cout << "hello,world!" << endl; cout << "hello,world!" << endl; cout << "hello,world!" << endl; cout << "hello,world!" << endl;
     cout << "hello,world!" << endl; cout << "hello,world!" << endl;
     cout << "hello,world!" << endl; cout << "hello,world!" << endl;

    system(&quotAUSE");
    return EXIT_SUCCESS;
}


  1. cpp


复制代码

12

主题

21

帖子

32

积分

注册会员

Rank: 2

积分
32
 楼主| 发表于 2006-3-31 07:07:00 | 显示全部楼层

Re: 勿进!测试发贴效果,没有预览功能啊.没办法,只好这样.




  1. #include <cstdlib>
  2. #include <iostream>
  3. #include <string>

  4. #include "netmsg.h"

  5. using namespace std;



  6. int main()
  7. {
  8.         NM_LOGIN ss;
  9.         cout << "type=" << string(ss.TYPE,4) << endl;
  10.         cout << "size=" << string(ss.SIZE,4) << endl;
  11.         cout << "resize=" <<string(toStr4(9910),4) << endl;

  12.                cout << "hello,world!" << endl;cout << "hello,world!" << endl;
  13.                cout << "hello,world!" << endl;cout << "hello,world!" << endl;cout << "hello,world!" << endl;
  14.                cout << "hello,world!" << endl;cout << "hello,world!" << endl;cout << "hello,world!" << endl;cout << "hello,world!" << endl;
  15.         cout << "hello,world!" << endl;cout << "hello,world!" << endl;cout << "hello,world!" << endl;cout << "hello,world!" << endl;cout << "hello,world!" << endl;cout << "hello,world!" << endl;

  16.     system("PAUSE");
  17.     return EXIT_SUCCESS;
  18. }


复制代码

12

主题

21

帖子

32

积分

注册会员

Rank: 2

积分
32
 楼主| 发表于 2006-3-31 07:08:00 | 显示全部楼层

很好,谢谢!

很好,谢谢!

12

主题

21

帖子

32

积分

注册会员

Rank: 2

积分
32
 楼主| 发表于 2006-3-31 07:09:00 | 显示全部楼层

Re:勿进!测试发贴效果,没有预览功能啊.没办法,只好这样.

请版主删贴.
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

作品发布|文章投稿|广告合作|关于本站|游戏开发论坛 ( 闽ICP备17032699号-3 )

GMT+8, 2026-1-24 01:14

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表