Skip to main content
GameDev.net gamedev.net
🔒 Locked

a simple question

Started by shaobohou Aug 27, 2005 at 4:44 PM 2 replies 500+ views
Original Post
shaobohou
shaobohou
I'll see a lot of c++ codes where classes all have "C" prefix, what is the point of this? Just curious.
Just because it is not nice, doesn''t mean it is not miraculous.
SiCrane
SiCrane
Some people have the convention of making interface classes (abstract base classes) start with the letter I, and making concrete classes (classes that you can instantiate) start with the letter C. It's a way of telling at a glance if you can use a class directly or not.
flangazor
flangazor
It is Hungarian for Concrete class; rather than Interface. Thankfully I've not had to use it so much. T is from Delphi.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.