Thread: heeeeeeellllllpppppppp!!!

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Registered User
    Join Date
    Nov 2001
    Posts
    43

    Exclamation heeeeeeellllllpppppppp!!!

    EDITED!!!

    ok, this is yet another edited version, thanks to ZEN, the .cpp and .h file used to get these errors is below in one of his posts, and well...these are the errors im getting,
    i dont understand the first few, the not declared ones and the syntax. especially since he is the one who tinkered with it



    HashMap.cpp:4: syntax error before `::'
    HashMap.cpp:12: `KeyType' was not declared in this scope
    HashMap.cpp:12: `ValueType' was not declared in this scope
    HashMap.cpp:12: syntax error before `*'
    HashMap.cpp:14: `KeyType' was not declared in this scope
    HashMap.cpp:14: `ValueType' was not declared in this scope
    HashMap.cpp:14: syntax error before `*'
    HashMap.cpp:15: ANSI C++ forbids declaration `buckets' with no type
    HashMap.cpp:15: parse error before `['
    HashMap.cpp:16: syntax error before `<='
    HashMap.cpp:16: syntax error before `++'
    HashMap.cpp:21: syntax error before `='
    HashMap.cpp:25: syntax error before `::'
    HashMap.cpp:27: syntax error before `<='
    HashMap.cpp:27: syntax error before `++'
    HashMap.cpp:35: syntax error before `::'
    HashMap.cpp:43: syntax error before `->'
    HashMap.cpp:44: syntax error before `->'
    HashMap.cpp:45: `key' was not declared in this scope
    HashMap.cpp:45: implicit declaration of function `int hashfunc(...)'
    HashMap.cpp:45: ANSI C++ forbids declaration `buckets' with no type
    HashMap.cpp:45: `newptr' was not declared in this scope
    HashMap.cpp:45: assignment (not initialization) in declaration
    HashMap.cpp:46: parse error before `return'
    HashMap.cpp:50: syntax error before `::'
    HashMap.cpp:53: `KeyType' was not declared in this scope
    HashMap.cpp:53: `ValueType' was not declared in this scope
    HashMap.cpp:53: syntax error before `*'
    HashMap.cpp:54: ANSI C++ forbids declaration `front' with no type
    HashMap.cpp:54: `key' was not declared in this scope
    HashMap.cpp:55: ANSI C++ forbids declaration `back' with no type
    HashMap.cpp:56: parse error before `if'
    HashMap.cpp:69: ANSI C++ forbids declaration `front' with no type
    HashMap.cpp:69: redefinition of `int front'
    HashMap.cpp:54: `int front' previously defined here
    HashMap.cpp:69: base operand of `->' is not a pointer
    HashMap.cpp:70: parse error before `}'
    HashMap.cpp:75: syntax error before `::'
    HashMap.cpp:84: ANSI C++ forbids declaration `runner' with no type
    HashMap.cpp:84: base operand of `->' is not a pointer
    HashMap.cpp:85: parse error before `}'
    HashMap.cpp:91: syntax error before `::'
    HashMap.cpp:100: ANSI C++ forbids declaration `runner' with no type
    HashMap.cpp:100: redefinition of `int runner'
    HashMap.cpp:84: `int runner' previously defined here
    HashMap.cpp:100: base operand of `->' is not a pointer
    HashMap.cpp:101: parse error before `}'
    HashMap.cpp:102: syntax error before `='
    HashMap.cpp:108: syntax error before `::'
    HashMap.cpp:117: ANSI C++ forbids declaration `runner' with no type
    HashMap.cpp:117: redefinition of `int runner'
    HashMap.cpp:100: `int runner' previously defined here
    HashMap.cpp:117: base operand of `->' is not a pointer
    HashMap.cpp:118: parse error before `}'
    HashMap.cpp:123: syntax error before `&'
    HashMap.cpp:123: `ostream' was not declared in this scope
    HashMap.cpp:123: `o' was not declared in this scope
    HashMap.cpp:123: parse error before `<'
    HashMap.cpp:124: ANSI C++ forbids declaration `operator <<' with no type
    HashMap.cpp:124: `operator <<(...)' must have an argument of class or enumerated type
    HashMap.cpp:124: `operator <<(...)' must take exactly two arguments
    HashMap.cpp: In function `int & operator <<(...)':
    HashMap.cpp:127: `bucket' undeclared (first use this function)
    HashMap.cpp:127: (Each undeclared identifier is reported only once
    HashMap.cpp:127: for each function it appears in.)
    HashMap.cpp:127: `hm' undeclared (first use this function)
    HashMap.cpp:130: warning: control reaches end of non-void function `operator <<(...)'
    HashMap.cpp: At top level:
    HashMap.cpp:133: syntax error before `::'
    HashMap.cpp:136: `KeyType' was not declared in this scope
    HashMap.cpp:136: `ValueType' was not declared in this scope
    HashMap.cpp:136: syntax error before `*'
    HashMap.cpp:142: syntax error before `<'
    HashMap.cpp:150: ANSI C++ forbids declaration `runner' with no type
    HashMap.cpp:150: redefinition of `int runner'
    HashMap.cpp:117: `int runner' previously defined here
    HashMap.cpp:150: base operand of `->' is not a pointer
    HashMap.cpp:151: parse error before `}'
    HashMap.cpp:152: syntax error before `='
    make: *** [proj5] Error 1
    Last edited by DarkDays; 12-09-2001 at 05:37 PM.

Popular pages Recent additions subscribe to a feed