This is an archive of CompuServe forum messages from 1985 to 1995, as saved in transcripts by John Foust.
Search Results (12 messages)
#163618-
recursion
Message #164068
No, O() notation is not just for time – it can be used for space as well. The Quicksort I posted has a stack usage of O(ln n), which does place an upper bounds on the space required on the stack at any one time.
#163227-
CodeWarrior problem
Message #163779
I got internal compiler errors on several lines of one program I was porting. The workaround was to break down the (not very complex) expression into several lines of subexpressions using explicit temporaries – and of course to send a bug report with a way for them to repeat this…
"Show segment numbers" will show you the segment number next to the NAME of the segment, in brackets. If you didn't name the segment, then it will still have the default name "Segment xx" and TPM won't add the (redundant) segment number in brackets. Double-click on a segment name, name…
From:
Brian Fitzgerald
MAUG(R)/Macintosh Developers/Programmers Forum
· Dev. Environments
July 20, 1993 12:18 PM
> You know, I've wondered about this a number of times, but I can't > seem to get much in the way of pointers from the folks at Macromind. For whatever reason, they won't be of much help to you. I didn't do it, but some folks I'm now working…
Try Elements of C++ Macintosh Programming Dan Weston Addison-Wesley 1990
From:
Brian Fitzgerald
MAUG(R)/Macintosh Developers/Programmers Forum
· Dev. Environments
July 18, 1993 4:53 PM
> HELP! We are trying to develop an interactive software program for > use by small children… We are looking for suggestions as to what > programming language/development tools to use…We have very limited > knowledge of MAC internals. Um. Yes, well. I have some experience here, so, for what…
From:
Brian Fitzgerald
MAUG(R)/Macintosh Developers/Programmers Forum
· C and Pascal
July 16, 1993 2:46 AM
I don't have any uncommented spaghetti (I gave it up for Lent many years ago)! If you can't find any example source code in the MacDev libraries, let me know in a few days and I'll try to abstract some out. It's not that hard, really, but there are a…
Actually, Joe is encrypting his messages with a key so secret that even he can't decode them. 🙂
From:
Brian Fitzgerald
MAUG(R)/Macintosh Developers/Programmers Forum
· Tools/Debuggers
July 15, 1993 12:13 PM
> I have just started using AppMaker and am wondering if there are any > dicey consequences of using ResEdit on the created resource files. David, I do that all the time (except of course I use Resorcerer; ymmv). AppMaker creates perfectly normal Macintosh resources in a perfectly normal Macintosh…
From:
Brian Fitzgerald
MAUG(R)/Macintosh Developers/Programmers Forum
· C and Pascal
July 15, 1993 12:13 PM
I neglected to mention that source code for the more complicated version is available. There are any number of "Help" libraries, that implement a "Help" function. At the heart of most of them is code that gets text from a resource puts it into a TextEdit record lets you scroll…
From:
Brian Fitzgerald
MAUG(R)/Macintosh Developers/Programmers Forum
· C and Pascal
July 15, 1993 12:13 PM
> And I'm sure you wouldn't be surprised to learn that in addition to > PCs, I'm a Rush Limbaugh fan Rush Limbaugh is a Mac fanatic. He's gone on several times about how discomfiting that must be to liberals (a jab at, among other things, John Sculley's avid endorsement…
From:
Brian Fitzgerald
MAUG(R)/Macintosh Developers/Programmers Forum
· C and Pascal
July 14, 1993 4:26 PM
> How does one go about displaying text stored in a TEXT resource? > Got any sample Pascal code? Something like this: textH := GetResource( 'TEXT', resID ); HLock( textH ); SetRect( dispRect, 50, 50, 350, 150 ); TextBox( textH^, GetHandleSize( textH ), dispRect, teJustLeft ); HUnlock( textH ); ReleaseResource(…