Most of the code uses pointers instead of references. Since references are safer (no null value can be passed), it might be worth changing pointers to references where possible.
The other thing that could be improved is to use C++-style casts instead of the classic C-style casts. As @FrozenOxide mentioned, C++ checks at compile time, while C-style doesn't.
Most of the code uses pointers instead of references. Since references are safer (no null value can be passed), it might be worth changing pointers to references where possible.
The other thing that could be improved is to use C++-style casts instead of the classic C-style casts. As @FrozenOxide mentioned, C++ checks at compile time, while C-style doesn't.