摘要: //comment1,'ctrl+v' to VISUAL BLOCK mode.2,'j' or 'k' to select/deselect lines.3,'I' to INSERT mode.4,'#' and 'ESC'.//uncommentstep '1','2' are the sa... 阅读全文
posted @ 2014-08-22 14:24 wonkju 阅读(1295) 评论(0) 推荐(0)
摘要: solution: 1)swap to another tty, kill processes using 'sudo kill -9 pid' 2)'Recover' the 'warn-opennig' file, backup, and delete the '.wap' hidden f... 阅读全文
posted @ 2014-08-22 14:22 wonkju 阅读(184) 评论(0) 推荐(0)
摘要: commons: all of them could use regular-expression to match the result. differences: 1)grep: search for files with patterns. 2)awk: any... 阅读全文
posted @ 2014-08-22 14:21 wonkju 阅读(177) 评论(0) 推荐(0)
摘要: 函数a在运行时,在调用函数b过程中,在运行被调用函数b之前,系统需要先完成3件事: 1,将所有形参,返回地址(调用函数中,被调用函数的下一条语句的地址)等信息,传递给被调用函数保存. 2,为被调用函数的局部变量分配存储区域. 3,将控制转移到被调用函数的入口.而从被调用函数返回给调用函数... 阅读全文
posted @ 2014-08-22 14:20 wonkju 阅读(151) 评论(0) 推荐(0)
摘要: C中,整型有: characters,shortinteger,integer,longinteger 看起来,longinteger要比shortinteger大,但是这也是不一定的. shortinteger最少有16位,而longinteger最少要32位.但是,要设计默认的intege... 阅读全文
posted @ 2014-08-22 14:18 wonkju 阅读(170) 评论(0) 推荐(0)
摘要: In C, array arguments behave as though they are passed by reference, and scalar variables and constants are passed by value (like var parameters and... 阅读全文
posted @ 2014-08-22 14:17 wonkju 阅读(351) 评论(0) 推荐(0)
摘要: 1,进程1)目的:为了使多个程序的并发执行,以改善资源的利用率和系统的吞吐量.2,线程1)目的:为了减少程序并发执行时系统所付出的额外开销. 阅读全文
posted @ 2014-08-22 14:15 wonkju 阅读(111) 评论(0) 推荐(0)
摘要: 利用反证法证明:对于所有实数x和y,如果x+y2,则x或者y1.答:假定x和y均为实数,然后假定结论为假,即¬(x≥1y≥1)为真.根据DeMorgan定律,¬(pνq)≡¬pΛ¬q,得¬(x≥1νy≥1)≡¬x≥1Λ¬y≥1≡x≤1Λy≤1.使用前面的定理,将不等式相加,x+y<1+1=2堆出了矛... 阅读全文
posted @ 2014-08-22 14:12 wonkju 阅读(304) 评论(0) 推荐(0)