inlcuding a class multiple times

Hi,

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.

Any idea's what i'm doing wrong here?
Maybe you are indeed missing a ';'. Can you post your code.
Topic archived. No new replies allowed.