i'm a real beginner with c++, and i've got some problems with compiling my project (I'm using g++).
The problem is as follows:
I've got a class sha for generating a hash, and want to use this class in 2 seperate locations. In both locations i include the h file, however in the 2nd location it seems the include doesn't work. I get the following error:
error: expected `;' before âshaâ
As a test i just copied the sha class and renamed it sha2, changed the include for one of the locations and it all worked.