This looks more like C than C++.

You should use Object Oriented design if you're going to use C++. :)