摘要: 1//createfile.cpp:Definestheentrypointfortheconsoleapplication.2//34#include"stdafx.h"56#include"windows.h"7#include"string"8intmain(intargc,char*argv[])9{1011charpath[255];12charfileName[255];13chardata[]="thisisatest!";1415for(inti=0;i<20;i++)16{17//getwi 阅读全文
posted @ 2012-05-13 16:22 誑逩の蝸犇 阅读(162) 评论(0) 推荐(0) 编辑
摘要: 原理:/subsystem:"console" /entry:"mainCRTStartup" (ANSI)/subsystem:"console" /entry:"wmainCRTStartuup" (UNICODE) 以上两种是带有dos控制台显示的方式如果你建立了一个win32 application,编译器得链接开关则会是一下形式/subsystem:"windows" /entry:"WinMain" (ANSI)/sbusystem:"windows&q 阅读全文
posted @ 2012-05-13 14:50 誑逩の蝸犇 阅读(237) 评论(0) 推荐(0) 编辑