-
find the lines indicated, often double clicking on the error statement will highlight the indicated line. Then look at the involved line and maybe one or two lines before. This type of an error statement often means an unmatched set of round () or curly {} brackets or a ; where there shouldn't be one, etc. It is a pretty common error, and learning how to handle it yourself will be necessary to get beyond the basics of writing C++.
It is very difficult for anyone to count down to line 163 by hand to find exactly where to look. If you want someone to help look at the lines specifically, then please indicate which lines are involved by commenting them somehow----for example by placing a row of //////////////////above, beside, below the involved line so we can see it. Excpecting someone to copy and compile your code to do this on their own will dramatically reduce your chances of getting assistance.
-
i did want someone to compile it them selves. I just wanted help.
line 172 is the very last line. line163 is the line with default in it.
Thanks anyways
-
ok, i did what you said but i still have one error. One stupid little error!!!
it is saying parse error on 163 still.
163 it the line with default in it.
I dont see an error, do you?
Thanks
-
you should use a colon, not a semicolon after the keyword default
see how easy that was!
-
YEAAAA!!!
Never mind i got it to work. Thanks everyone who helped. I appreciate it.
:D ;)
-
Jeese dont bite my friggin head off im just learning. And i saw that myself when i was looking through my resources.
Jerk
-
Congratulations!
Try not to be so sensitive. Using this medium it is impossible to interpret mood, etc. by words alone unless someone is using inflamatory language or the emoticons--and since I detest emoticons I don't use them, although I accept them as standard fare for this board.
Learning how to ask for help is part of the process of receiving helpful feedback and making it as easier for those providing assistance will improve your chances of getting it.
-
yea, but he just came out and said it like i was stupid or something