Berkeley CSUA MOTD:Entry 20960
Berkeley CSUA MOTD
 
WIKI | FAQ | Tech FAQ
http://csua.com/feed/
2025/04/04 [General] UID:1000 Activity:popular
4/4     

2001/4/13 [Computer/SW/Languages/Java, Computer/SW/Compilers] UID:20960 Activity:very high
4/13    What's up with forward declarations and member function pointers in C++?
        I've got a bunch of classes that need to include each other, but when I
        try using a pointer to a member function (fooclass::bar) I get some
        bullshit about "incomplete type fooclass has no member named bar". Even
        though it does. So I can't get this bitch to compile. Am I just screwed?
        Happy Friday the 13th btw.
        \_ platform? compiler? a smaller sample that doesn't work?  From
           here is sounds like you're screwed.  I've done that web of
           class dependencies before with no problems.  -meyers
        \_ Yes, post your code in /tmp or something for others to view.
           \_ hmm. well i'm juggling other things right now so I'll try
              doing that later. this is g++ on linux by the way.
              i believe it would work if i change from calling class A's
              constructor in class B's constructor to setting it up manually,
              but that's not very elegant, and this is stuff other ppl will use.
                \_ Hand coding kludged solutions are known as "job security".
                   \_ yeah, especially if you're stupid and your coding-fu is
                      weak.
                   \_ leave him alone, he's probably only taken cs61b.
                      \_ Right, sorry.  I forgot about the "no-beating-
                         up-on-retarded-kids" rule on the motd.  mea culpa.
                         \_ When you're laid off and during the exit interview
                            your manager thanks you for writing such clear and
                            easy to modify code, you'll think back on this.
                            \_ Talking from experience, huh?  Poor guy.  Have
                               you ever considered a job in a less technical
                               field?
                                \_ You'll see.  It's easy to be 23 and think
                                   you're hot shit and the world is your
                                   oyster.
                            \_ not likely. People that do this sort of feeble
                               "job-security" crap get fired where I work.
                               Grow up and get a real job, kid.
                                \_ And the name of your New Age Enlightened
                                   company is...?
2025/04/04 [General] UID:1000 Activity:popular
4/4     

You may also be interested in these entries...
2013/5/1-18 [Computer/SW/Languages/Java, Computer/Theory] UID:54669 Activity:nil
5/1     What's the difference between CS and Computer Engineering?
        http://holykaw.alltop.com/top-ten-paying-degrees-for-college-graduates
        \_ One is science and the other is engineering.
        \_ From http://en.wikiquote.org/wiki/Computer_science
           'A folkloric quotation ... states that "computer science is no more
           about computers than astronomy is about telescopes."  The design
	...
2012/12/4-18 [Computer/SW/Languages/Java] UID:54544 Activity:nil
12/4    Holy cow, everyone around me in Silicon Valley is way beyond
        middle class according to Chinni's definition:
        http://en.wikipedia.org/wiki/American_middle_class
        \_ Let's set our goals higher:
           http://en.wikipedia.org/wiki/Upper_middle_class_in_the_United_States
           \_ How about this one?
	...
2012/10/29-12/4 [Science/Disaster, Computer/SW/Languages/Java, Politics/Domestic/President/Bush] UID:54516 Activity:nil
10/29   Go Away Sandy.
        \_ Sorry, Coursera is performing preventive maintenance for this
           class site ahead of Hurricane Sandy. Please check back in 15 minutes.
           class site ahead of Hurricane Sandy. Please check back in 15
           minutes.
        \_ Bitch.
	...
2012/1/18-3/3 [Computer/SW/Languages/Java, Finance/Investment] UID:54290 Activity:nil
1/18    I own a bunch of NFLX stocks bought at several different periods
        (from high $200 all the way down to $80). I dumped a few and
        still have a few. Why the hell is Reid Hastings still making
        $500,000/year? How do I join the pending NFLX Class Action
        Lawsuit?
        \_ Why would you buy stock in a company run by a narcissistic
	...