第2章 关于Visual C++(www.cppentry.com)的话题
“关于Visual C++(www.cppentry.com)的话题”?很多读者会很奇怪怎么会安排这样不够正式的标题出现,然而事实上,涉及Visual C++(www.cppentry.com)论坛上的FAQs中30%的问题都来自于对Visual C++(www.cppentry.com)的真正身份和C++(www.cppentry.com)语法的困惑。“Visual C++(www.cppentry.com)是C++(www.cppentry.com)么?”、“控制台程序中可以使用MFC么?”“Visual C++(www.cppentry.com)是不是就是MFC?”,这样的问题有很多,本章我们逐个击破,力图拨开团团迷雾。
2.1 Visual C++(www.cppentry.com)与C++(www.cppentry.com)
众所周知,在标准的C++(www.cppentry.com)环境下编写一个程序总是那么清晰、可控:
然而,在Windows操作系统下面,程序员的噩梦开始了,很难再能写出这么清晰明了的代码了。Visual C++(www.cppentry.com)的推出,似乎给程序员带来了不少的改善,然而由于MFC强大的封装性,让Visual C++(www.cppentry.com)备受责问。
Visual C++(www.cppentry.com)与C++(www.cppentry.com)之间的关系在于:Visual C++(www.cppentry.com)实现了标准C++(www.cppentry.com),它采用C++(www.cppentry.com)标准语法支持程序员进行编程(www.cppentry.com)。因此,要学好Visual C++(www.cppentry.com),则必须掌握C++(www.cppentry.com)语法。特别是面向MFC和ATL编程(www.cppentry.com),程序员需要有扎实的C++(www.cppentry.com)基本功,这些包括对OOP、异常、模板等语法的理解和掌握。
那么,Visual C++(www.cppentry.com)是什么?Visual C++(www.cppentry.com)不是什么?接下来我们就来探讨它们。
【责任编辑:
王晶 TEL:(010)68476606】