版本:Ubuntu 14.04 LTS 默认语言:English(United States)
Debian 和 Ubuntu 下对中文支持比较好的字体有: fonts-droid、ttf-wqy-zenhei 和 ttf-wqy-microhei 等,除了文泉驿系列字体外,比较流行的免费中文字体还有文鼎提供的楷体和上海宋,包名分别是: fonts-arphic-ukai 和 fonts-arphic-uming。
| ag -l lightSPDs > output.txt | |
| for /f %%a in (output.txt) do sed -i -e "s/lightSPDs/lightSPDs_buffer/g" %%a | |
| del output.txt |
| // Example program | |
| #include <iostream> | |
| #include <string> | |
| #include <vector> | |
| using namespace std; | |
| int main() | |
| { | |
| vector<int> a; |
| class Rectangle{ | |
| private: | |
| int length; | |
| int width; | |
| public: | |
| Rectangle(int l, int w): length(l), width(w){}; | |
| int area(){ return length*width;}; | |
| perimeter() { return 2*(lendth+width);}; | |
| ~Rectangle(){}; | |
| } |