- 博客(5)
- 资源 (3)
- 收藏
- 关注
转载 How Computers Represent ImagesThe PPM File Format(http://cs.anu.edu.au/Student/comp1100.2006.s1/assts/asst1/ppm.html)
Colours The colours you see on a computer screen are made up of tiny red, green and blue dots. To specify a colour, you have to say how much red, how much green, and how much blue is in the colour,
2008-03-29 15:25:00
124965
1
原创 Linux shell 中参数变量&shell中的双引号
参数变量:一些脚本程序带有参数,shell中用一些特殊的变量表示这些参数,这些特殊的变量就是参数变量。 Shell中参数变量 $1, $2,$3, ... 脚本程序的参数 $* 在一个变量中列出所有参数,
2008-03-21 17:45:00
3013
原创 C语言中unsigned int 与 int 的自动转换
int main(){ unsinged int a = 6; int b = -20; (a+b>0)?puts(">6"):puts("}打印结果为>6原因:int b = -20会自动转化为int,为一很大的数总结:正常情况转化char/enmu->int->long->double. 有符号转化为无符号的
2007-12-12 17:41:00
1945
原创 The differences between System.out and System.err
As we know, System.out is used as the standard output in Java and System.err is often used to output the error messages you do not expect coming. However, the essential difference between them is that
2007-10-30 21:33:00
537
原创 C++中new和delete的实质--代码解释
#includeusing namespace std;class A{ int i;public: A(int k = 0):i(k){ cout void print() { cout ~A() { cout};int main(){ //下面实现A *p = new A; A *p; try{ void *m = ::operator new (sizeof(A)); p =
2007-07-07 22:01:00
989
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人