Reference material:Thinking In C++ 2nd eidition chapter 5 section "Handle classes"If there's something need to be hidden from clients of the class (su...
分类:
编程语言 时间:
2014-11-19 20:08:08
阅读次数:
235
Chapter6.h#ifndef __CHAPTER_6_
#define __CHAPTER_6_
/*《深入理解C指针》学习笔记 -- 第六章*/
typedef struct __person
{
char* name;
char* title;
unsigned int age;
}person;
/*结构体内存的释放问题*/
void __struct_memory_...
分类:
其他好文 时间:
2014-11-19 16:07:48
阅读次数:
119
1 import java.util.*; 2 import java.io.*; 3 4 public class Loop { 5 6 static Scanner console = new Scanner(System.in); 7 8 public ...
分类:
其他好文 时间:
2014-11-18 13:16:20
阅读次数:
192
In the previous chapter, we wrote XML using the XmlWriter class. However, for some situations, especially when doing updates of existing XML, using th...
Although it need not be, the expression is usually an identifier. Whether it is an identifieror an expression, the value of the identifier or the expr...
分类:
其他好文 时间:
2014-11-17 13:54:04
阅读次数:
223
上周末,我在图书馆看到了这本很薄的书,如下: 这本书中写的内容,个人感觉适合一个初学者,内容不是很难。我也读了下,对每一章都做了笔记,笔记都是用代码的形式贴出来。Chapter1.h#ifndef __CHAPTER_1_
#define __CHAPTER_1_
/*《深入理解C指针》学习笔记 -- 第一章*/
/*一个数如果是无符号的,那么尽量去选用 size_t 类型*/...
分类:
其他好文 时间:
2014-11-17 09:15:34
阅读次数:
109