// cstring.cpp : Defines the entry point for the console application. // #include "stdafx.h" int main(int argc, char* argv[]) { CString str1; CString str2; return 0; }
解决方法: