- 博客(9)
- 收藏
- 关注
转载 A sarcastic program in C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; interface 学霸 { string 谈笑风生(); string 装弱(); } interface 学渣 { strin...
2017-03-08 18:49:00 76
转载 Polymorphyism in C#
An example of failed polymorphyism using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; class People { public People(string Nam...
2017-03-08 18:18:00 72
转载 Pointer to a member function
Why this post? Because this looks like magic! Code // pointer to a member function #include <iostream> using namespace std; class Dog { public: void wag_tail() const { co...
2017-02-27 23:24:00 107
转载 Gruneisen constant
Definition of Guneisen constant \[ \gamma = - \frac{d\ln\omega}{d\ln V} \] assuming there is only one frequency involved. Physical significance of Guneisen constant Usually the Gruneisen constant...
2017-02-27 13:48:00 300
转载 Calculation of Hall coefficient within two carrier model
I spent a whole afternoon trying to understand how to calculate the Hall coefficient when both electrons and holes contribute. First we make it clear than mobility can be positive and negative. h...
2017-02-23 17:38:00 83
转载 I am reading a book on C++!
Hello folks! This semester, the only thing I have to do is to do my bachelor's thesis. So there is plenty of time for me to learn other things. As I am teaching a middle school student how to pro...
2017-02-23 11:47:00 121
转载 What is nullptr?
One of the reasons to use nullptr in c++11 is https://www.zhihu.com/question/55936870. A simple demo of the comparison between nullptr, 0, and (void*)0. // nullptr #include <iostream> usin...
2017-02-23 11:18:00 77
转载 Open course collection
This is my personal open course collection. Physics Special topics in statistical mechanics by Kerson Huang at National Univ of Taiwan. http://ocw.aca.ntu.edu.tw/ntu-ocw/index.php/ocw/cou/102S11...
2016-10-16 15:20:00 101
转载 更改GRUB2背景和字体颜色
Ubuntu里面GRUB2的紫色背景实在是太难看,可以按照如下的办法改变字体显示颜色和背景颜色。 ch3cooh@ch3cooh-T420~> cat /lib/plymouth/themes/default.grub set color_normal=white/black set menu_color_normal=white/black set menu_col...
2016-01-21 15:33:00 691
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人