Nebula3学习笔记(2): Hello World

长平狐 发布于 2012/11/12 11:50
阅读 47
收藏 0
就以这个程序做为测试程序的模板吧
 1: #include "stdneb.h"
 2: #include "core/debug.h"
 3: #include "core/coreserver.h"
 4: #include "core/sysfunc.h"
 5: 
 6: using namespace Core;
 7: 
 8: void
 9: __cdecl main()
10: {
11: 	Ptr<CoreServer> coreServer = CoreServer::Create();
12: 	coreServer->SetAppName("Nebula3 Hello World!");
13: 	coreServer->Open();
14: 
15: 	n_printf("Hello World/n");
16: 	system("pause");
17: 
18: 	coreServer->Close();
19: 	coreServer = NULL;
20: 
21: 	Core::SysFunc::Exit(0);
22: }

原文链接:http://blog.csdn.net/xoyojank/article/details/2606023
加载中
返回顶部
顶部