Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1447817
  • 博文数量: 596
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 173
  • 用 户 组: 普通用户
  • 注册时间: 2016-07-06 15:50
个人简介

在线笔记

文章分类

全部博文(596)

文章存档

2016年(1)

2015年(104)

2014年(228)

2013年(226)

2012年(26)

2011年(11)

发布时间:2014-12-10 10:41:28

1. //基数student的析构函数不是vi#include <iostream>#include <stdio.h>using namespace std;class student{public:    student(){        printf("%s co.........【阅读全文】

阅读(764) | 评论(0) | 转发(0)

发布时间:2014-12-07 16:05:23

1、打开source insight,Project -> Open Project,browse (C:\Users\think\Documents\Source Insight\Projects\Base2、打开Utils.em文件,在该文件的末尾加入如下内容:macro switch_cpp_hpp() {     hwnd = GetCurrentWnd()  &nb.........【阅读全文】

阅读(4094) | 评论(0) | 转发(0)

发布时间:2014-12-02 11:52:43

#include using namespace std;template void Swap(AnyType &a, AnyType &b){    AnyType tmp;    tmp = a;    a = b;&.........【阅读全文】

阅读(756) | 评论(0) | 转发(0)

发布时间:2014-12-02 11:19:32

#include using namespace std;class Student{public:    void Register()const {        m_register = true;    }private:.........【阅读全文】

阅读(740) | 评论(0) | 转发(0)

发布时间:2014-12-02 10:54:42

引用是已定义的变量的别名。引用必须声明且初始化。主要用途:1. 函数形参。将引用变量作为参数,函数将使用原始数据,而不是副本。2. &的左边和右边左边,声明引用int b;int &a = b;右边,取地址运算符int b;int *a = &b;.........【阅读全文】

阅读(535) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册