博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2014年10月8日

摘要: 1 // section_6.cpp : Defines the entry point for the console application. 2 //范磊C++ 第6章 面向对象 3 4 #include "stdafx.h" 5 #include "iostream" 6 ... 阅读全文

posted @ 2014-10-08 18:21 六年一班刘同学 阅读(141) 评论(0) 推荐(0)

2014年9月29日

摘要: 1 // section_5.cpp : Defines the entry point for the console application. 2 //范磊 C++ 第5章 if语句与运算符 3 4 #include "stdafx.h" 5 #include "iostream"... 阅读全文

posted @ 2014-09-29 17:23 六年一班刘同学 阅读(267) 评论(0) 推荐(0)

2014年9月28日

摘要: 1 // section_4.cpp : Defines the entry point for the console application. 2 //范磊C++ 第4章 C++数据类型 3 //c++有6种数据类型 4 /* 5 布尔型 bool .布尔型可表示两个逻辑值0和1.即... 阅读全文

posted @ 2014-09-28 19:44 六年一班刘同学 阅读(180) 评论(0) 推荐(0)

2014年9月27日

摘要: 1 //范磊C++ 第3章 2 3 #include "stdafx.h" 4 #include "iostream" 5 6 //3.1 一个简单的函数 7 void show() 8 { 9 std :: cout > a; 33 cin >> b; 34... 阅读全文

posted @ 2014-09-27 17:44 六年一班刘同学 阅读(217) 评论(0) 推荐(0)

2014年9月26日

摘要: //范磊C++ 第2章//这章我觉得最主要的是:1, 命名空间 namespace 作用; 2,std 的作用.#include "stdafx.h" //这个#include "stdafx.h"和#include "iostream" 好像有顺序的吧?反过来放,先写#include "ios... 阅读全文

posted @ 2014-09-26 12:21 六年一班刘同学 阅读(243) 评论(0) 推荐(0)