![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
C/C++
文章平均质量分 65
抢街饭
我的爱已经抛出异常
展开
-
第一个C++程序
/*lzw.cpp*/ // C++源程序的扩展名是.cpp, 而C的源程序的扩展名是.C #include // 包含标准输入输出头文件 iostream using namespace std;// 引入C++标准命名空间名 std int main() { cout<<"Welcome to C++ 世界"<<endl; return 0; //原创 2011-11-15 20:37:23 · 657 阅读 · 2 评论 -
C++名字空间的主要用法示例
/*lzw.cpp*/ // C++源程序的扩展名是.cpp, 而C的源程序的扩展名是.C #include // 包含标准输入输出头文件 iostream using namespace std;// 引入C++标准命名空间名 std namespace one //定义空间名one, 有M和inf { const int M = 200; int inf = 10;原创 2011-11-17 20:03:53 · 703 阅读 · 0 评论