I decided that I was going to convert my c code into c++ today. Big mistake. C code does not and cannot be directly converted into C++ code, at least in this case. I was running around, trying to get all of my void * casts to work, getting const char * casted… blearg. I just gave up and I am returning to C.
Maybe in the future I will try to write a kernel from scratch in C++ because I could see objects being very useful.