www.gusucode.com > VC++字符转换操作的例子-源码程序 > VC++字符转换操作的例子-源码程序/code/day02_02/codes/char/char.cpp
//Download by http://www.NewXing.com // char.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include "stdlib.h" #include "string.h" void c_char( ) { char * pszText = "Hello World!\n"; int nLen = strlen( pszText ); printf( "%d, %s", nLen, pszText ); } int main(int argc, char* argv[]) { c_char( ); return 0; }