error:not a class

Y

yeah

Hi friends,

i am new to c++ programming,when i compile c++ program got the error
as " not a class or struct name .I added all the headers files it
asked when compiling, but still getting error.
suggest me any idea that where i would have done wrong.

Any help in this would be appreciated.

thanks&regards
 
M

Mike Wahler

yeah said:
Hi friends,

i am new to c++ programming,when i compile c++ program got the error
as " not a class or struct name .I added all the headers files it
asked when compiling, but still getting error.
suggest me any idea that where i would have done wrong.

The first thing you did wrong was asking about C++
in a C newsgroup. They're different languages.
Post your message at comp.lang.c++. But in order
to get useful help, you'll need to post the minimum
amount of code that produces the error. I've been
reading comp.lang.c++ regularly, and have yet to
meet a clairvoyant there.

-Mike
 
N

Nick Keighley

i am new to c++ programming,when i compile c++ program got the error
as " not a class or struct name .I added all the headers files it
asked when compiling, but still getting error.
suggest me any idea that where i would have done wrong.

Any help in this would be appreciated.

if you have a problem with C++ then post to comp.lang.c++

you must provide more information if you want people to be
able to help you. Post a short, complete program that illustrates your
problem. Preferably it should compile except for the problem
you mention above.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,431
Messages
2,571,679
Members
48,796
Latest member
Greg L.

Latest Threads

Top