Yes, REALbasic has a built-in Database thing in the Professional version. There is no such thing in the Cocoa classes, you're going to have to look somewhere else to find one. Ther…
While in depth programming books comes to light, it would be great to have source code archive right in this website. So that we can post complete projects for educational purpo…
hi,
i've some questions about some error msg's i got when i tried to compile my java-project.
what does the following error msg's say?
1.
don't know how to make /Volumes/OSX/C…
I'm programming a simple game of Connect Four for my OOD class (which is due in a couple of days), and would like to make it my first Obj-C program. The main question I have is si…
Right, but how do I do that? It's mainly the coding aspects of it that I don't know.
Thanks for your reply, though. I'm just a little stressed with the deadline for this thing.…
Sorry with these forums down I can't help much. What I would do is put in an NSImageView in Interface Builder and then write some code like this:
<pre><font size = 1 f…
I can't figure out how to make a Cocoa app handle keyDown (or for that matter, any) events. Could someone tell me how I would set up a keyDown catching thing? Thanks.
just how dependant on ppc hardware are the carbon language?
is there any API calls that just won't work on other hardware?
What i'm thinking is how difficult it would be to have …
Dependant on hardware? About as hardware dependant as C++. All carbon is is just a set of C++ API's to write to. If you want to use carbon on another platform you'll have to port a…
No, it is not easy. What you're talking about is porting a huge chunk of Mac OS X to x86. Even with access to the original source code, this is very difficult due to all sorts of s…
Except that Apple has already ported a large chunk of the Mac OS X code from Intel to PPC in the first place, and it's been rumoured that Apple has OS X for Intel working internall…
I was wondering what would be a good thing to do if I was ever given a null pointer when I tried to allocate something. I'd assume that there'd be no point in putting an alert on t…
Well, when I get a NullPointerException I log it to stderr via Exception.printStackTrace()...
Oh, wait a minute. You might not be programming in Java. Sorry, couldn't resist :-)…
Don't be too proud of java. Doesn't stderr just throw it into the console? I could do the same thing in C. I think that the default behaviour of printf, if I'm not running a progra…
The only time a memory allocation will fail on OS X is when:
(a) all the RAM is being used,
(b) all swap space on all drives is completely full, and
(c) there are no pages in memor…
Quote:
Originally posted by gregomni:
The only time a memory allocation will fail on OS X is when:
(a) all the RAM is being used,
(b) all swap space on all drives is com…
I guess that I have a question about unix memory management then. Suppose that I have opened and closed a whole bunch of programs so the memory is pretty fragmented.
There's nothi…
When I do "c++ virtfunc.cpp" I get:
Quote:
In file included from /usr/include/gcc/darwin/2.95.2/g++/libio.h:30,
from /usr/include/gcc/darwin/2.95.2/g++/streambuf.h:36,
from /…
Can you post a copy of the file? I could give it a shot. What system calls are you making. It sounds like you might need to link with the system framework or something.
Well, I actually don't have the files it's referring to. I don't even have a /sys/ directory within that g++ directory. So for some reason I'm missing files. This is very strange i…