translate old c++ codes to new c++ code?

below is a .h file

#define right 0
#define left 1

station busInterface virtual{
port *Bus[2];
void configure();
};
void initBus(Rate, Time, int);

How do I translate the above codes into modern c++ codes?
Can I define a two separate .h files for the above codes? And how?
Any helps would be very much appreciated.

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories