c语言里所有以#开头的都是预编译指令,就是在正式编译之前,让编译器做一些预处理的工作。
#ifdef DEBUG printf("variable x has value = %d\n",x);
#endif#if和#endif是配对的,叫做条件编译指令,如果满足#if后面的条件,就编译#if和#....
分类:
其他好文 时间:
2014-05-22 04:37:10
阅读次数:
251
How to recursively count files in a linux
directory?find DIR_NAME -type f | wc -lfind DIR_NAME -type f -print | wc
-l查找包含alias字符串的*.conf的文件find / -nam...
分类:
系统相关 时间:
2014-05-22 03:52:45
阅读次数:
422
1. 什么是异常2. 异常的分类3. try...catch..finally结构的使用方法1.
什么是异常 异常:中断了 正常指令流的 事件 异常 是在程序运行的时候产生的 1 class Test{2 public static void
main(String args []){3 ...
分类:
编程语言 时间:
2014-05-22 03:33:39
阅读次数:
346
Find the inverse Kth node of a linked list.
分类:
其他好文 时间:
2014-05-22 03:29:46
阅读次数:
247
1. 实验线路连接图使用Cisco Packet Tracer5.3 构建拓扑结构图2.
实验内容(1) 按图配置各台计算机IP 地址。(2) 参阅教材中内容,完成单交换机上的VLAN 配置,配置要求如图 所示,使用show vlan
指令查看VLAN的配置情况,并使用Ping 指令测试各台计算机之...
分类:
其他好文 时间:
2014-05-22 02:54:10
阅读次数:
306
Find first not repeating char in a string.
分类:
其他好文 时间:
2014-05-22 02:13:26
阅读次数:
309
目标 1.学会用计算思维编写程序 think like a computer
scientist 2.读懂别人的程序 3.了解计算的基本能力和局限 4.把科学问题转换成计算问题什么是计算?
知识分为陈述性知识(是什么)和过程性知识(如何做,又称指令性知识,对推导过程的描述,如何判别)...
分类:
其他好文 时间:
2014-05-22 02:03:39
阅读次数:
202
Find 2 numbers with given sum in sorted array.
分类:
其他好文 时间:
2014-05-22 01:53:17
阅读次数:
288
Find a number which appears once in an array with
all the other numbers appear twice.
分类:
其他好文 时间:
2014-05-22 01:08:40
阅读次数:
278
Find common nodes of 2 linked list.
分类:
其他好文 时间:
2014-05-22 00:10:17
阅读次数:
241