在线笔记
全部博文(596)
发布时间:2013-07-22 22:21:39
$ls /dev/sd*$ fdisk /dev/sdb n 新建 p ... w 写入$mkfs.ext4 /dev/sdb1$vi /etc/fstab/dev/sdb1 /work ext4 rw 0 0$reboot......【阅读全文】
发布时间:2013-07-17 17:49:16
这样的函数应该如何声明和定义。 void print(int value, int base)的参数base指定一个默认的参数值10,.hvoid print(int value, int base = 10);.cppvoidprint(int value, int base){}因为编译器是根据函数原型声明确定函数调用是否合法.........【阅读全文】
发布时间:2013-07-05 09:53:15
Drawing With A Color使用颜色绘图After we have allocated the desired colors, we can use them when drawing text or graphics. To do that, we need to set these colors as the foreground and background colors of some GC (Graphics Context), and then use this GC to make the drawing. This is done using .........【阅读全文】