![]() |
|
#1
|
|||
|
|||
syntax error ???i have 2 methods that are both getting the same error. they are both operator overload methods that call each other.
the size() call they make works fine. i have tested that prior to adding these. the self is defined in an include .h file as *this. if anyone sees the error, PLEASE let me know. i have a long way to go and a short time to get there!!(ha) this is the error message i am getting: lab2aa.C: In member function `bool IntArray: const': lab2aa.C:80: syntax error before `}' token lab2aa.C: In member function `bool IntArray: const': lab2aa.C:98: syntax error before `}' token lab2aa.C: At global scope: lab2aa.C:116: syntax error before `}' token and here is the code: CPP / C++ / C Code:
THANKS crq Last edited by LuciWiz : 23-Jan-2005 at 16:34.
Reason: Please insert your C code between [c] & [/c] tags
|
|
#2
|
|||
|
|||
|
Quote:
Whenever you get a "syntax error" message that you don't understand, look at what's happening on the lines just before the line number in the error message. For example, maybe you have missing semicolon(s) here and there? CPP / C++ / C Code:
Regards, Dave |
|
#3
|
|||
|
|||
|
THANKS SO MUCH!! i just can't even SEE anymore!!
(duh) crq Quote:
|
Recent GIDBlog
Meeting the local Iraqis by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [Tutorial] GUI programming with FLTK | dsmith | FLTK Forum | 10 | 03-Oct-2005 15:41 |
| What is "Ambigious symbol" ??*( a compilation error) | small_ticket | C++ Forum | 2 | 07-Jan-2005 21:10 |
| Error C2146: syntax error : missing ',' before identifier 'C4' | mattchew008 | C++ Forum | 2 | 19-Dec-2004 06:06 |
| Can enum have same name as class? | crystalattice | C++ Forum | 3 | 08-Dec-2004 16:43 |
| Hmm what seems to be the problem here? error C2061: syntax error | pablowablo | C++ Forum | 5 | 12-Jun-2004 22:11 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The