Thread: C Programming on Mac
01-10-2006, 08:52 AM #1NiceKidDoRoxxGuestC Programming on Mac
I still use Borland C/C++ on my college. now, after I bought iBook, it's very difficult to find the substitute for it. Are there any free C compiler *like borland c/c++* for mac?
I tried XTools 2.2, but it was too complicated for me...
01-10-2006, 09:25 AM #2
- Member Since
- Mar 05, 2005
I build Mozilla products on the Mac and it took me notime at all to get up and running on the free Mac tools. I'd give it another shot. You might also take a look at the directions for getting Mozilla set up for building as this should give you everything that you need as well.
01-10-2006, 03:23 PM #3lilGuest
XCode 2.2 is not tricky if you actually take some time to read the documentation.
It is very good and worth sitting down and reading for a while, it will pay dividends instead of trying to dive in and expecting it to all come immediately.
The trick is that you are using an IDE in XCode and you need to use the New Project menu; if you want to build command line only stuff; go down to Foundation Tool in the project type.
After that, please read the documentation supplied.
01-10-2006, 07:34 PM #4
Originally Posted by NiceKidDoRoxx
- Member Since
- Mar 30, 2004
- 12" Apple PowerBook G4 (1.5GHz)
01-10-2006, 09:33 PM #5NiceKidDoRoxxGuest
second try... yup! i've read some o the manual too. love it!
/*it's my very first year in college, and i use borland c about 2/3 month, just started to learn c... so i'm still a total n00b :dummy: hehehe.... */
a question :
~ so i can't use conio.h and dos.h ,since it's a dos-related (?) i still need it... any substition?
01-11-2006, 04:34 AM #6lilGuest
Well it seems peculiar you have been taught the non-ANSI standard C which can do all the file IO and so forth.
here is an example to get you going:
/* example.c */
int x, y;
printf("Hello World. x = %d and y = %d\n", x, y);
/* end */
stdio.h is the standard file IO include.
Do a google search and you should find many tutorials.
01-12-2006, 08:51 AM #7NiceKidDoRoxxGuest
getting' used to it...! thx everyone...! ^__^"
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
By Mike120 in forum Switcher HangoutReplies: 11Last Post: 06-15-2009, 05:44 PM
By frewegooh in forum Switcher HangoutReplies: 20Last Post: 05-01-2007, 02:32 PM
By Chris3d in forum OS X - Development and DarwinReplies: 2Last Post: 03-27-2007, 07:21 AM
By DrQuincy in forum OS X - Development and DarwinReplies: 0Last Post: 01-26-2007, 12:17 PM
By Skarss in forum Web Design and HostingReplies: 1Last Post: 06-16-2005, 12:29 PM