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

Yet another Newbie Question — #2

These are classical C/C++ programming. int argc is the number of parameters passed to your executable char *argv[] is a array for all parameters passed to your exec. ie : toto -N…
MacNN Development by cjno

Ansi C program on OS X — #2

You can either use cc (which is basically gcc 2.95.2 with some apple modifications), or Project Builder, which is a GUI IDE that calls cc under the hood. If you use PB, you'll want…
MacNN Development by Angus_D

Ansi C program on OS X — #3

Project Builder will do it (& much more), but all you need for simple C programs is a text editor, and the "cc" command (on the CLI).
MacNN Development by Brass

Ansi C program on OS X — #4

you mentioned just using a text editor and using the cc command? what are they and where do i input these commands? i'm required to use ANSI C in my engineering class, and i really…
MacNN Development by Ryan1524

Ansi C program on OS X — #5

The gcc command is definitely ANSI compliant, so no worries there. For editing your files, there are many, many editors. BBEdit is the best (IMHO) but somewhat pricy. Goggling a…
MacNN Development by qyn

Ansi C program on OS X — #6

Eric and Ryan, You guys want to follow these instructions exactly: 1. Write your program using a plain text editor, like TextEdit (for now). It will teach you to pay attention to…
MacNN Development by johnMG

Ansi C program on OS X — #7

Guys, note that if you're going to use TextEdit as your editor, you need to know that it creates .rtf files by default, not plain text files. Convert to a plain text file by choos…
MacNN Development by smeger

Ansi C program on OS X — #8

As for the text editor... I would recommend SubEthaEdit as it is a pure text editor (you don't have to worry about accidentally saving your text as RTF), and has color coding for a…
MacNN Development by larkost

Ansi C program on OS X — #9

Quote: Originally posted by larkost: As for the text editor... I would recommend SubEthaEdit as it is a pure text editor (you don't have to worry about accidentally savi…
MacNN Development by smeger

Ansi C program on OS X — #11

this is great. thx guys. i'll try out each and every suggestions. i've tried compiling and testing a sample c file with the command "gcc -o test filename.c" so far, and then runnin…
MacNN Development by Ryan1524

Ansi C program on OS X — #12

Quote: Originally posted by Ryan1524: this is great. thx guys. i'll try out each and every suggestions. i've tried compiling and testing a sample c file with the command…
MacNN Development by Brass

Ansi C program on OS X — #13

funny thing about xcode is that i don't know how to compile with it. granted i've only tried it once or twice, but the Compile button in the Build menu is blanked out. so with an…
MacNN Development by Ryan1524

Ansi C program on OS X — #14

Quote: Originally posted by Ryan1524: funny thing about xcode is that i don't know how to compile with it. granted i've only tried it once or twice, but the Compile butt…
MacNN Development by Chuckit

Ansi C program on OS X — #15

smeger, thanks for catching that. I told TextEdit to use plain text files the first time I ran it and haven't thought about it since. :) Ryan, yes, stick with any text editor and …
MacNN Development by johnMG

Ansi C program on OS X — #16

Quote: Originally posted by johnMG: smeger, thanks for catching that. I told TextEdit to use plain text files the first time I ran it and haven't thought about it since.…
MacNN Development by Brass

Ansi C program on OS X — #17

how bout ANSI C compatibility with the windows Borland compiler? should be fine, right? by that i mean whatever i code with textedit and terminal should also work on the windows bo…
MacNN Development by Ryan1524

Ansi C program on OS X — #18

GCC has some of the best ANSI C compatibility out there. You can check out the Web site, and it will show you how standards-compliant it is and how to change the way it enforces th…
MacNN Development by Chuckit

Ansi C program on OS X — #19

Ryan -- yes. Do all your *own* stuff with gcc. When you're somewhere else that doesn't have gcc but has borland or comeau or something else, your code will compile just fine and d…
MacNN Development by johnMG

NSToolbar questions. — #2

I don't know about number two, but for number one you just do. [toolbarItem setToolTip:@"Ain't this fun?"];
MacNN Software by ksuther

NSToolbar questions. — #3

I'd like to note that you should really look at the SimpleToolbar example. All of these things are addressed. Basically, for No. 1, there is a paletteImage and a toolbarImage. You …
MacNN Software by Synotic

NSToolbar questions. — #4

Thanx ksuther, worked like a charm Synotic: you must have a 'special' SimpleToolbar example, as mine makes no mention of separate images for palette and toolbar. In fact the word …
MacNN Software by 3R1C

NSToolbar questions. — #5

Nope, but I know how Omni does. In the delegate method where you provide toolbar items: <BLOCKQUOTE><font size="1"face="Geneva, Verdana, Arial">code:</font>&lt…
MacNN Software by Rickster
mp.ls