Recent content by FoolyCooly

  1. FoolyCooly

    glMatrixMode() causes bus error

    That was the problem. When testing the cocoa version, i would only declare the object and not call a draw function. When testing the c++ version, i would declare the object and call a draw function. When I tested the draw function without a context in the cocoa version - i got a similar error. I...
  2. FoolyCooly

    glMatrixMode() causes bus error

    I'm really confused. I recently updated to xcode and now my opengl project will not run. I have a c++ class setup to "automate" a lot of the opengl while i play with the shapes etc. glObject square.drawSquare(); type stuff. However, when executing my code, it compiles fine, i get a...
  3. FoolyCooly

    Project Builder v.2.1 on 10.2

    It used to only happen every now and then, and even then, it would go away. But with my last project it has only gotten worse. Aftering loading a project, the source and class files one by one turn to gibberish. The text looks converted into some form of Japanese or Chinese, and when I put it...
  4. FoolyCooly

    Calling class methods

    Thanks a lot, really. I remember using it now, in another program, but without making the connection as to what I was doing then.
  5. FoolyCooly

    Calling class methods

    I never thought to look it up, because I just assumed it would work. But after looking around through my books and online, i'm not sure what to do or what the term would be called. How does one call another class method of the same class within itself ? -(void) trialClassMethod_1 {...
  6. FoolyCooly

    Bad iMac Bad

    The dsl is connected through the main router's wan. I cannot connect to the modem directly as there are no drivers for OS X. The modem isn't the problem though, as even if it weren't functioning, I would still have access to the network, and I don't. I know it is a router issue, but as all...
  7. FoolyCooly

    Bad iMac Bad

    My apologies for lack of detail, i didn't want to make it too long in the first post :( Essentially, there is a pc in the family room. This is where the dsl modem and the primary router are. If I connect to the router in the main room directly, after the same waiting period, I can connect...
  8. FoolyCooly

    C++ compiler needed FAST

    I'm sorry, you'd still have to have the dev. tools and 10.2, but i'm certain you could find gcc somewhere online. I do apologize again, and I wish you luck.
  9. FoolyCooly

    C++ compiler needed FAST

    Since you have access to the dev. tools online, why not just download the new GCC 3.3 from apple? Its 20mb, but thats not quite 300mb. I hope that helps.
  10. FoolyCooly

    Bad iMac Bad

    I've lived with this problem for awhile now, and i'm not sure what to do. I'm using an old iMac DV 400, and after nearly 2 years of happy usage on the network with my brother's pc, my iMac decided to drop connection. I connect through a socket in the wall and every other computer and device...
  11. FoolyCooly

    C++ compiler needed FAST

    If you have OS X on the imac, it should already come with gcc, or in your case, g++. But you'd have to use the terminal. You can also probably log into your schools server i would suspect? But it would no doubt be the same thing. A simple editor to use would be pico in the terminal, like this...
  12. FoolyCooly

    [g++] re-using an ifstream

    I just cut and pasted, but replace, "ios_base::beg" with just "ios::beg" here it is corrected: (ios_base::beg != ios::beg) Apologies, and I hope it works.
  13. FoolyCooly

    [g++] re-using an ifstream

    I'm not sure, but when you open the file again, instead of "ios::in", try "ios_base::beg", which tells it to move to the beginning of the stream. For more details though, just type in "fstream" at cplusplus.com, a wonderful wonderful reference site, though a lot of it is actually in c, not c++...
  14. FoolyCooly

    OS X Stack Size

    For whatever reason it blanked my mind, but as soon you mentioned the heap I remembered the window's workaround for it, and thats simply to delcare the array, in any form, outside the main() function, like a global variable. I apologize for this late reply but I would still like to say that I...
  15. FoolyCooly

    OS X Stack Size

    I have been wrestling with this problem longer than I realized. Programs that work fine while working with smaller values, often crash while working with larger values. I always thought this was some flaw in my code until a proffesor began talking about linux and windows stack sizes. Apparently...
Back
Top