Hi,
I am a new user of C++ CCS. I have some problems about using class.
In my project I create two cpp source file one of them main other one for functions and one header which has a class with public functions and variables.
When I include header file to main file and functions file naturally it says you define class twice.
I usualy create two header. One of them has orginal define other one is extern.
But in this case it doesnt work.How can I use class functions and variables in two source file?
Thank you .