I assume you want to program in Cocoa.If you haven't taken any or all of the following steps already,take them:
1.Go to http://www.apple.com/developer and register …
since i could always need some practice with cocoa, sure, why not.
as far as objective-c is concerned, that's kind of new to me, too, but i'm not new to programming, so... let's t…
I am working on a project that uses voice recognition. I am currently using Apple's built-in speech recognition, but I would prefer to use ViaVoice as I hear that it is much bette…
How do I get a program to tell the PPC (G4): "Hey dude, use little-endian mode?"
Just running a small data mining C proggie that I'm developing on my TiBook but will be run on a W…
Little-endian and big-endian refer to how numbers are interpreted by the processor. The bits that form a number can be interpreted either right-to-left or left-to-right.
But, you…
If you're using standard C, the bitwise operators are required to operate as if the data they were handling was big-endian, regardless of what the underlying platform actually supp…
<strong>This is all on x86. Or maybe it was more data that was swapped (bytes over bits), I cant remember now. But I am almost positive it had nothing to do with the directio…
Sorry for being unclear - I was trying to get the point across without giving a comp-sci lecture What you say is absolutely correct.
Just out of curiousity, does anyone know w…
I think you have to be in supervisor mode and of course use assembly code to do the switch. Then I suppose you'd have to switch back if you want to use any system calls. Sounds lik…
Why don't you just write some simple byte swapping functions? I don't think it is possible for Apple hardware to run in little endian mode (although I may be wrong) because various…
Okay, so I found this very basic regular math expression parser, and it works great!... except that if you enter an expression long enough (about 25 characters in length) it dies. …
Is there any reason this wouldn't work?
</font><blockquote><font size="1" face="Geneva, Verdana, Arial, sans-serif">code:</font><hr /><pre style="…
Trying to get libmpeg2 working on OS X....
Everthing compiles fine (after my tweaking for CC instead of gcc) but I get this in the linker:
/bin/sh ../libtool --mode=link cc -g …
A link error means that there is a line of code that is making reference to a symbol (it can be a variable, or function, etc), that has not been defined. In this case, it looks li…
Yeah, I got it... actually got it figured out... they were being cut off by the preprocessor... figures I got the stuff off of sourceforge... after every revision, it's like... IT'…
I'd like to make a very simple command-line tool that can:
1. Set/read the monitor brightness (the actual lamp, not a ColorSync thing)
2. Set/read the system volume -- Nevermind, f…
Sorry, other than a cryptically named constant, all my best grepping and handreading through those frameworks and others hasn't turned up an obvious API for monitor brightness.
An…