摘要:
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 阅读全文
摘要:
原理:/subsystem:"console" /entry:"mainCRTStartup" (ANSI)/subsystem:"console" /entry:"wmainCRTStartuup" (UNICODE) 以上两种是带有dos控制台显示的方式如果你建立了一个win32 application,编译器得链接开关则会是一下形式/subsystem:"windows" /entry:"WinMain" (ANSI)/sbusystem:"windows&q 阅读全文