Search results

  1. pretzelFTW

    ThinkC [Study Group 1] Drawing on the Macintosh

    Yep! You called it. That's what it was. I unchecked that box and now it works. Thanks! I'm rather surprised that's the default for new projects. I imagine there were plenty of Macintosh Plus machines still in use in the early nineties.
  2. pretzelFTW

    ThinkC [Study Group 1] Drawing on the Macintosh

    Well, this is strange. Page 92, at the end of the Randomize function: return ( (randomNumber * range) / kRandomUpperLimit ); This line crashes with an "Illegal instruction" error for me. Apparently you can't multiply a long and a short? This crashes also: main() { long x = 3; short y =...
  3. pretzelFTW

    ThinkC [Study Group 1] Drawing on the Macintosh

    I don’t remember, so that definitely might be the problem.
  4. pretzelFTW

    ThinkC [Study Group 1] Drawing on the Macintosh

    On Page 84, where it talks about changing the font: GetFNum("\pMonaco", &fontNum); if (fontNum != 0) { TextFont(fontNum); } I’m noticing that only two fonts work – the system font (Chicago), and the application font (Geneva). Any other number I pass into TextFont() seems to result in...
  5. pretzelFTW

    ThinkC [Study Group 0] Getting your Development Environment Setup & Hello, World!

    Hi! Just found the forum a few days ago and figured I'd join the study group! I'm using a Mac Plus with 4MB RAM. (I would have rather used the SE/30 I acquired a while back, but it needs recapping) I tried System 7.5.3 and THINK 6 but didn't get too far – there wasn't enough memory to run...