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...
在 這裏 看到的 日文歌词 幸福论 歌曲：椎名林檎| 歌词：椎名林檎 本当のしあわせを探したときに 愛し愛されたいと考えるようになりました そしてあたしは君の強さも隠しがちな弱さも汲んで 時の流れと空の色に 何も望みはしない様に 素顔で泣いて笑う君にエナジイを燃やすだけ...
為甚麼說低能呢？ 其實我並不是說井字過三關是低能 而是我寫了一個低能的井字過三關游戲 因為我寫得確實是超低能，但兩個人是可以玩的 代碼如下: ……………………………… $ cat test.cpp /* test.cpp * just for trying how to ...
這遊戲裏有隻老虎 是隱藏Boss來的，會和一個胖子餵養員一同出現 打死那個胖子後附近有三塊牛排 可以用來餵老虎，喂滿血後會被收伏 跟着回安全屋作為女兒的禮物 收這隻老虎我花了好多時間 上網查了一下，有個很簡單的方法 具體是打掛胖子後先跳上高台拿三塊牛排 然後等老虎跑開，上了高台...