c++ ; error

A

asit

asit@ubuntu:~/cpp$ gen httperr
compiling c++-source file httperr.cpp .....
httperr.cpp: In member function ‘_httpCode httpCodeList::search(int)’:
httperr.cpp:82: error: expected primary-expression before ‘;’ token

what does the above error means ??
 
S

Saeed Amrollahi

asit@ubuntu:~/cpp$ gen httperr
compiling c++-source file httperr.cpp .....
httperr.cpp: In member function ‘_httpCode httpCodeList::search(int)’:
httperr.cpp:82: error: expected primary-expression before ‘;’ token

what does the above error means ??

Hi

Without seeing your code, it's almost impossible
to make any suggestion/comment about the
the source of error messages.

-- Saeed Amrollahi
 
A

Alain Ketterlin

asit said:
asit@ubuntu:~/cpp$ gen httperr
compiling c++-source file httperr.cpp .....
httperr.cpp: In member function ‘_httpCode httpCodeList::search(int)’:
httperr.cpp:82: error: expected primary-expression before ‘;’ token

what does the above error means ??

It means that what appears right before ";" is not of the expected form,
e.g., you put a class name after "return", where an expression is
expected.

-- Alain.
 

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

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,053
Latest member
BrodieSola

Latest Threads

Top