Skip to main content
Search titles, bodies, and author names
Found 61,624 posts across 1 forum.

gcc??? — #5

Well, if you really wanted I bet someone would mail those two binaries to you, but what would you do with them then? In order to compile something you would still need an assemble…
MacNN Development

devtools download - mirror? — #2

hi, i'm from France and i hadn't had any prblems to download the tools, when yousign up it provide automatically an ftp adress near you (for me i had downloaded from Europe site.…
MacNN PowerPC

Basic ObjC Question — #2

I'm pretty new to objc myself, but try this. - (NSString *)getPage: (int)pageNumber { return [[[myArray objectAtIndex: (pageNumber -1)] copy] autorelease]; } This returns a poin…
MacNN Hardware

Aqua and Xlib — #2

yeah, ok, add that to Apple's list of 2.48937e+24 things to do. Seriously though, I think most would be happier with faster performance of current features. Apple's main priorities…
MacNN Software

Aqua and Xlib — #3

Quote: Originally posted by Angus_D: Does anybody have any idea how long it would take to port an X11 app to Cocoa, just out of interest? Depends on whether there's…
MacNN Software

source — #2

Uhm... Not exactly. Some stuff works, some stuff needs some work, and some stuff needs a lot of work. It's all to do with incompatibilities and niggles and stuff in OS X/Darwin. So…
MacNN Troubleshooting

source — #3

As Angus stated, not exactly. Most well written CLI based software should compile with little to no modification. By well written, I mean written with portability in mind. It s…
MacNN Troubleshooting

source — #4

Thanks guys, I suspected as much. In regards to the Star Office question, i'm sure it will be plastered everywhere we go when an osx binary is available. Take care..............
MacNN Troubleshooting

Preventing search of Frameworks headers — #2

If you want to include gargle.h in a directory foo in the directory in which the c source file containing the #include directive, you'd want to use #include "foo/gargle.h" When y…
MacNN Development

Preventing search of Frameworks headers — #3

Yeah, but there are political reasons it's difficult for me to change the source. In "normal" (i.e., all other) compilers, the -I command line option inserts the specified director…
MacNN Development

Contexual menu (how to?) — #2

Java and Objective C are the preferred, and for that matter only languages for programming OSX at any level above the console. Given your familiarity with OO languages and C, I wh…
MacNN Development

Contexual menu (how to?) — #3

Oops! I completely forgot about Carbon. I guess it's pretty clear what my feelings towards the new API are now. I guess that adds C and C++ to the list of viable choices. I sti…
MacNN Development

Help - Dev Tools Install error — #2

I think I've read about this over in the OS X Developer forum. Be sure to poke around there. I'm going to move this over to the Mac OS X Developer forum. Click through to find y…
MacNN Software

mv directories? — #2

It works for me... what error are you getting? /Users/lcampbel/tmp> mkdir foo /Users/lcampbel/tmp> ls -l total 0 drwxr-xr-x 2 lcampbel staff 24 Nov 9 16:55 foo/ …
MacNN Troubleshooting

mv directories? — #3

Quote: Originally posted by aquapaul: Can someone explain why the mv command won't move directories on OS X PB? In every un*x I've used you can use mv dir1 dir2, but no…
MacNN Troubleshooting

mv directories? — #4

Hmmm. Well that *should* work, but my mv (/bin/mv) only supports the -f -i switches. mkdir foo; mv foo bar -- that works. mkdir foo; vi foo/file.txt (enter text); mv foo bar -…
MacNN Troubleshooting

mv directories? — #5

It's not just you. I too have run into this problem and didn't know what to think of it until now. I'm assuming it's caused by files that have resource forks since it worked when…
MacNN Troubleshooting

mv directories? — #6

Quote: Originally posted by aquapaul: Hmmm. Well that *should* work, but my mv (/bin/mv) only supports the -f -i switches. Yeah, my bad. I was confusing cp and rm …
MacNN Troubleshooting

Large Arrays in C++? — #2

Quote: Originally posted by nonhuman: <STRONG>For some reason when I try to declare an array of 234,936 strings in C++ on OS X I get a seg fault. When i do it in …
MacNN Troubleshooting by kamprath

Large Arrays in C++? — #4

Either that or change the size of the stack limitation (ulimit stack, for example).
MacNN Troubleshooting by Angus_D

Large Arrays in C++? — #5

Ok, stupid question: How do you declare an array dynamically? Is it <BLOCKQUOTE><font size="1"face="Geneva, Verdana, Arial">code:</font><HR><pre>&lt…
MacNN Troubleshooting by nonhuman

Large Arrays in C++? — #6

string* dictionary = new string[size]; did that not work? if you don't have to use a bare array (if this isn't homework or something), i'd suggest an stl container. std::vector o…
MacNN Troubleshooting by aleph_null
mp.ls