Although I'm not very familiar with the memory management in C and i also don't understand the working principle, i have written a lot of code using pointer and data struct or union. Therefore i found something must be notices. for example, the memory allocated must be free when they finish their job, otherwise they will still in used until the program exit.
I know C give a lot of freedom for programmer to control how to use the memory. The pointer in C is very useful. But i think the memory management in C is semi-automatic which means the compiler will just do half of the job, another left to user. To be honest, i do not like this working style. Of course programmer can control a lot but not every things, some half of the job is still done by the compiler not programmer. Programmer can not access all of the memory because of security reason, but coding in totally auto-way sometimes will case problem. That's why i said the memory management in C is semi-automatic.
Howevery, I like programing in C. I think C style is colse to the working principle of the computer. Since I using C, I understand more about how the computer work. Every time i got a problem, i will spend lots of time to study why it happen, what case the problem and how to avoid it. In programing, memory is very important because all algorithm base on data which was saved in memory. The semi-automatic memory management give me more freedom in it. As I said before, i don't like semi-automatic. In fact i like total control by my self like assembly and i hate totally automatic controling by the some other things(compiler). Assembly is hard to use so i just use C and half is enought, it can done a lot!
現在很流行cosplay AV 相信很多人都知道吧 超級出名的涼宮AV版 寒蟬、Fate也有 剛剛Death Note都有AV版啦～(不過沒甚麼劇情，只是拿着本筆記簿.........) 上面那張圖是打算推出的cosplay AV 沒錯！是舞乙Hime！ 又多一部啦 它是An...
在 這裏 看到的 日文歌词 幸福论 歌曲：椎名林檎| 歌词：椎名林檎 本当のしあわせを探したときに 愛し愛されたいと考えるようになりました そしてあたしは君の強さも隠しがちな弱さも汲んで 時の流れと空の色に 何も望みはしない様に 素顔で泣いて笑う君にエナジイを燃やすだけ...
昨天剛好有人問我如何在Linux裹查看電腦的硬件配置 我便整理一下方法吧 首先PC裹最重要的當然是CPU和RAM 在/proc目錄下有兩個檔案記錄了相關信息，分別是/proc/cpuinfo和/proc/meminfo cat /proc/cpuinfo cat /p...
在HTML中，直接用Enter是不能換行的 但有換行用的標記 就是<br /> 這樣就可以換行了～ 在Blogger當中可以用的 想要在Profile中的自我介紹裏換行，就要用這個了 -- Jimmy09140456@Gmail.Com http://ToKyo-J...