Good day !

I have write a C++ program which implement class to run some funcitons in DOS and runs well.

But, how can I transfer the class if I wish to convert it into a Win32 application because I wish to implement GUI.

I tried to copy the whole class codes and paste it into the Win32 application source code but failed.

I understand that I cant used some conventional funcitons such as printf and the class just contains function that return integer values only.

Do I have to convert the class file into a header file and import it from the Win32 applicaiton source code and implement the functions there ?

Thanks a lot !