摘要:
任何东西的根本性的,本质上的原理以及背后的思想都是及其简单的,所谓的复杂性都是优化与策略化的扩展带来的。 阅读全文
摘要:
http://www.cprogramming.com/tutorial/shared-libraries-linux-gcc.htmlBasically, 2 steps: 1) make the lib. 2) put the lib in /usr/lib and ldconfig (upda... 阅读全文
摘要:
check here.tip: 当使用remove方法时,index后边的元素要自动前移。Nothing special. 阅读全文
摘要:
Arrays in Java are of fixed size that is specified when they are declared. To increase the size of the array you have to create a new array with a lar... 阅读全文
摘要:
It's per-process. Once your process exits, the allocated memory is returned to the OS for use by other processes (new or existing).To answer your edit... 阅读全文
摘要:
These are two different concepts, you cannot compare them. What the difference between the skunk and the moonlight?Null pointer is a special reserved ... 阅读全文
摘要:
1) Allocate a chunk of memory big enough to satisfy the request, and return a pointer to it.2) Remember which chunks of ram are in use and which aren'... 阅读全文
摘要:
FUSE: File system in USErspace.So what is a file system?A file system maps file paths to file contents and metadata.Metadata includes modification tim... 阅读全文
摘要:
The power button activates the power supply in the PC, sending power to the motherboard and other components.The PC performs a power-on self-test (POS... 阅读全文
摘要:
if I want to repeat "hello" four times as a new string-> "hellohellohellohello". I can:return new String(new char[4]).replace("\0", "hello") 阅读全文