c++ ; error

Discussion in 'C++' started by asit, Feb 13, 2011.

  1. asit

    asit Guest

    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 ??
     
    asit, Feb 13, 2011
    #1
    1. Advertising

  2. On Feb 13, 4:23 pm, asit <> wrote:
    > 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
     
    Saeed Amrollahi, Feb 13, 2011
    #2
    1. Advertising

  3. asit <> writes:

    > 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.
     
    Alain Ketterlin, Feb 13, 2011
    #3
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. hfk0
    Replies:
    2
    Views:
    21,675
  2. JavaQueries
    Replies:
    1
    Views:
    3,675
    John C. Bollinger
    Mar 1, 2005
  3. Balaji
    Replies:
    3
    Views:
    10,115
  4. Bishop
    Replies:
    1
    Views:
    791
    Bishop
    Feb 24, 2007
  5. juvi
    Replies:
    3
    Views:
    1,054
    Alexey Smirnov
    Jan 22, 2009
Loading...

Share This Page