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

Preventing search of Frameworks headers — #1

How can I get gcc NOT to search /System/Library/Frameworks/foo.framework/Headers when I say #include <foo/gargle.h>? -nostdinc doesn't do it. It seems that the prep…
MacNN Development

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?) — #1

Could anyone point me to a tutorial/howto/example of building a contexual menu addon that can interact with the dock? BTW what is the preffered language of OSX as far as programmin…
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 — #1

I downloaded the Dev Tools (in omniweb), opened the archive with OpenUp, then let installer.app do its thing (I was logged in as root btw). While running the installer, it said th…
MacNN Software

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

WWDC 2000 Prices? — #1

Can't find any info on Apple's website about pricing for last year's WWDC. Maybe I'm not looking hard enough but would someone please just give me a general idea as far as how much…
MacNN Software

mv directories? — #1

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 not osx! How are you meant to do this?
MacNN Troubleshooting

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++? — #1

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 Linux it works fine. Why is it doing this? Is there some way …
MacNN Troubleshooting by nonhuman

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

Remember Cricket Graph? — #1

Well do you remember it? That unbelievably simple graphing tool for OS 7 or whatever it was. Well, it still runs in classic, but it would kick major booty if there was a program li…
MacNN Development by 11011001

Remember Cricket Graph? — #2

Yeah, I miss CricketGraph. If you need basic graphs, Excel v.X should be fine. I use Deltagraph (mostly for scientific data and EPS output) but have to boot into OS 9...
MacNN Development by Macola

Remember Cricket Graph? — #3

Excel for Mac OSX does a pretty full range of graphs these days including log scales and a whole bunch of curve fitting trendlines. I used to use Cricket Graph years ago. If you w…
MacNN Development by Fillman

Remember Cricket Graph? — #4

man, what a flashback! I loved Cricket Graph. Sure, Excel can do it now, but I can't afford it! $450 my A$$.
MacNN Development by memento
mp.ls