07 2014 档案

摘要:盘符: 例如想进入D盘 d: ../ 上一层目录md 文件夹名 新建文件夹cd 文件夹名 进入到该目录cd.. 返回上一层目录cd\ 返回根目录cd \windows 进入到当前盘Windows目录cd.>文件名 新建文件rd 文件夹名 删除文件夹(只能删除空文件夹)copy 文件... 阅读全文
posted @ 2014-07-31 21:36 bruceyo 阅读(335) 评论(0) 推荐(0)
摘要:1. WebSockets -- full-duplex communicationThe main HTML5 pillars include Markup, CSS3, and JavaScript APIsFor whole set of HTML5, visit html5rocks.com... 阅读全文
posted @ 2014-07-25 11:03 bruceyo 阅读(675) 评论(0) 推荐(1)
摘要:1. fstream 继承自iostream --> 要包含头文件#include2. 建立文件流对象3. 打开文件夹4. 测试是否打开成功5. 进行读写操作6. 关闭文件#include#includeusing namespace std;int main(){ ifstream ifil... 阅读全文
posted @ 2014-07-17 17:57 bruceyo 阅读(1647) 评论(0) 推荐(0)
摘要:为了访问公有派生类的特定成员,可以通过讲基类指针显示转换为派生类指针。也可以将基类的非静态成员函数定义为虚函数(在函数前加上virtual) 1 #include 2 using namespace std; 3 4 class base{ 5 public: 6 /*virtual*/ ... 阅读全文
posted @ 2014-07-17 15:33 bruceyo 阅读(417) 评论(0) 推荐(0)
摘要:#includeusing namespace std;/******************************************//*use member function to overload operator*//*********************************... 阅读全文
posted @ 2014-07-17 12:14 bruceyo 阅读(437) 评论(0) 推荐(0)
摘要:#includeusing namespace std;const double PI = 3.1415926;template T min(T a[], int n){ int i; T minv = a[0]; for (i = 1; i double Circle_Square(T1 x){ ... 阅读全文
posted @ 2014-07-17 07:55 bruceyo 阅读(1719) 评论(0) 推荐(0)