The Daily Static
  The Daily Static
UF Archives
Register
UF Membership
Ad Free Site
Postcards
Community

Geekfinder
UFie Gear
Advertise on UF

Forum Rules
& FAQ


Username

Password


Create a New Account

 
 

Back to UserFriendly Strip Comments Index

Okay, now my compiler just thinks it's funny. by Llyr2002-09-29 13:54:40
  Nah, it thinks you're funny. by Arcanum2002-09-29 14:00:45
    And, hey, it could be worse. by Arcanum2006-11-19 12:55:59
      Maybe you can figure out what's wrong here. (n/t) by Llyr2002-09-29 14:09:00
        My header file: by Llyr2002-09-29 14:09:36
          And my function definitions. by Llyr2002-09-29 14:10:24
            Slap those two in a project by Llyr2002-09-29 14:11:08
              Well, for starters... by Arcanum2002-09-29 14:31:09
                Where do I have "r" defined elsewhere? by Llyr2002-09-29 14:37:11
                  In your header file. by Arcanum2002-09-29 14:42:09
                    That's the ONLY r I have! by Llyr2002-09-29 14:45:02
                      No... by Arcanum2002-09-29 14:52:59
                        oh. (n/t) by Llyr2002-09-29 15:18:57
                          Okay, revised def. code. by Llyr2002-09-29 15:23:55
                            Aren't you getting a whole bunch of by Arcanum 2002-09-29 15:43:10
"parse error before <type>" error messages before you get to the "such-and-such not defined here" messages? You need to deal with those first. In particular, to fix that, you need to put your return type on the left side of point::.

point::void setX(double q) {x=q;}
becomes
void point::setX(double q) {x=q;}

I bet if you fix those, a lot of your other errors will go away. Also, you might want to comment out your overloaded operator functions, so their error messages aren't getting in the way until you're ready to deal with them.

[ Reply ]
                              Aaahhhh. There we go. (n/t) by Llyr2002-09-29 16:02:07
                                First rule of debugging compile-time errors: by Arcanum2002-09-29 16:06:04
                                heh. (n/t) by Llyr2002-09-29 16:08:51

 

[Todays Cartoon Discussion] [News Index]

Come get yer ARS (Account Registration System) Source Code here!
All images, characters, content and text are copyrighted and trademarks of J.D. Frazer except where other ownership applies. Don't do bad things, we have lawyers.
UserFriendly.Org and its operators are not liable for comments or content posted by its visitors, and will cheerfully assist the lawful authorities in hunting down script-kiddies, spammers and other net scum. And if you're really bad, we'll call your mom. (We're not kidding, we've done it before.)