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

Yet another Newbie Question — #1

I've seen these functions in the files ProjectBuilder makes, argc and argv. I've been looking around, and I can't seem to find out how they work. My C++ assumes knowlege, and my C …
MacNN Development by BlackGriffen

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

Beginner cocoa programmers wanted — #1

Hi! I am looking for some beginner cocoa programmers for my upcoming website who would be willing to share some source codes and small, easy to understand tutorials with other beg…
MacNN Development by stupidFish23

Ansi C program on OS X — #1

I've been a windows user for a quite a while and have recently bought a cube. I'm interested in doing some simple C programming for a computer science class, and need a way to comp…
MacNN Development by Eric_S

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
mp.ls