Results 1 to 7 of 7
Thread: C Programming on Mac
01-10-2006, 09: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, 10:25 AM #2
- Member Since
- Mar 05, 2005
- Rep Power
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, 04: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, 08:34 PM #4
- Member Since
- Mar 30, 2004
- Your Mac's Specs
- 12" Apple PowerBook G4 (1.5GHz)
Originally Posted by NiceKidDoRoxx
- Rep Power
01-10-2006, 10: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, 05: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, 09: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 macOS - Development and DarwinReplies: 2Last Post: 03-27-2007, 07:21 AM
By DrQuincy in forum macOS - Development and DarwinReplies: 0Last Post: 01-26-2007, 01:17 PM
By Skarss in forum Web Design and HostingReplies: 1Last Post: 06-16-2005, 12:29 PM