// yangyhui.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include "afxwin.h"
int main(int argc, char* argv[])
{
CString str;
LPSTR c="1234";
str = c;
str.Format("CString格式化例子1:%s,看清楚了吗?",c);
printf("%s/n",str);
printf("%s/n",c);
int i=1234;
str.Format("CString格式化例子2:%d,看清楚了吗?",i);
printf("%s/n",str);
printf("%d/n",i);
int a;
a=i+1234;
str.Format("%d",a);
printf("CString格式化例子3:");
printf("%s,看清楚了吗?/n",str);
printf("%d/n",i);
return 0;
}