老顽童

wprintf 中文

#include <locale.h>

void main()
{
	wchar_t ttttt[] = {L"冰河时代"};
	setlocale(LC_ALL, "chs");   
	wprintf(L"title:%s\r\n",ttttt);
}

  

posted on 2011-11-08 14:00  老顽童  阅读(222)  评论(0编辑  收藏  举报

导航