error help

This is a discussion on error help within the C Programming forums, part of the General Programming Boards category; i get these two errors! how do i get rid of them!? syntax error : missing ';' before 'type' 'c' ...

  1. #1
    Registered User
    Join Date
    Jan 2003
    Posts
    1

    error help

    i get these two errors! how do i get rid of them!?

    syntax error : missing ';' before 'type'
    'c' : undeclared identifier

  2. #2
    Guest Sebastiani's Avatar
    Join Date
    Aug 2001
    Location
    Waterloo, Texas
    Posts
    5,600
    Could you be a little more vague?

    Post the offending code so that we can see the actual error.
    Code:
    if( numeric_limits< byte >::digits != bits_per_byte )
        error( "program requires bits_per_byte-bit bytes" );
    24bbs.cpp

  3. #3
    and the Hat of Clumsiness GanglyLamb's Avatar
    Join Date
    Oct 2002
    Location
    between photons and phonons
    Posts
    1,109

    basic help

    syntax error : missing ';' before 'type'
    'c' : undeclared identifier
    missing ; =>just put a ; before type as the error says

    c undeclared declare it as an int, char , float whatever u like (actually whatever is needed in your code, therefore it would be good to post your code)

Popular pages Recent additions subscribe to a feed

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21