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…
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…
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…
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…
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…
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…
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…
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…
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…
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…
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…
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…
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…
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…
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 …
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.…
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…
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…
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…
1. Can NSToolbar items have tooltips?
2. The toolbar items 'space' and 'flexible space' both are invisible items that do not show in the toolbar. However they do have a visible…