Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Adding Files (Error: is not a class or namespace name)

Status
Not open for further replies.

stevensteven

Programmer
Jan 5, 2004
108
CA
I don't know what I'm missing here but I added two files, Base64.cpp and Base64.h to my project, and it will not compile Base64.cpp. I get the error:

C:\proj\Base64.cpp(29) : error C2653: 'Base64' : is not a class or namespace name


It looks like its not looking in my Base64.h

Any ideas?

Thanks for any help,

Steve
 
Did you forget to #include &quot;Base64.h&quot; or perhaps you used <Base64.h> instead which will cause the preprocessor to look for the file in the wrong place.Just guessing without seeing the code.
 
I did #include &quot;Base64.h&quot;, is it possible I did it in the wrong place?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top