C++ Operator Overloading
In C++ the overloading principle applies not only to functions, but to operators too. That is, of operators can be extended to work not just with built-in types but also classes. A programmer can provide his or her own operator to a class by overloading the built-in operator to perform some specific computation when the operator is used on objects of that class.
Determine if Two Binary Trees Are Equal
What would be the efficient algorithm to find if two given binary trees are equal – in structure and content?
Test Chinese Fonts
解决CentOS中文显示问题: 一:安装中文支持
1
|
|
二:安装字体
1
|
|
三:修改配置文件
1
|
|
将
1 2 |
|
修改为
1 2 3 4 |
|
四:
1 2 |
|