個人的にC++は食わず嫌い,実際にブツを作ってみると果たしてどうなるんか少し試す事にした.
以下,メモ.
[Going on a jaunt STLport. I'm not C++ haX0r, but I don't line C++. But tasting is always not bad idea. The following is a part of diff C to C++ for me.]
- line comment
- default value of function's argument
- overloaded function
- dynamic memory
- anonymous unions
- class
- constructor, destructor
- overloading operater
- this
- polymorphisms
- templates
- name spaces
- exception
- type casting
単純なブツなら副作用に気を付けてCで#define使って実装してしまいそうだとか,そんな書き方は怠け過ぎだろとか思ったりするけど. :p
[Some of the aboves looks to be able to be implemented by #define macro magiX. Or looks too lazy codin' stuffs, blah blah blah... :p]
0 件のコメント:
コメントを投稿