New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus • Advice and insight from world-class Apple enthusiasts • Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
Switcher Hangout The place for switchers to discuss their new machines, and how to work with OS X. General support can be had here for newbie stuff, like "How do I restart my new iMac?" :)

C Programming on Mac


Post Reply New Thread Subscribe

 
Thread Tools
NiceKidDoRoxx
Guest
 
Posts: n/a

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

thx b4.
QUOTE Thanks
mmoy

 
Member Since: Mar 05, 2005
Posts: 282
mmoy is an unknown at this point

mmoy is offline
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.
QUOTE Thanks
lil
Guest
 
Posts: n/a

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.

Vicky
QUOTE Thanks
technologist

 
Member Since: Mar 30, 2004
Location: USA
Posts: 4,744
technologist has a reputation beyond reputetechnologist has a reputation beyond reputetechnologist has a reputation beyond reputetechnologist has a reputation beyond reputetechnologist has a reputation beyond reputetechnologist has a reputation beyond reputetechnologist has a reputation beyond reputetechnologist has a reputation beyond reputetechnologist has a reputation beyond reputetechnologist has a reputation beyond reputetechnologist has a reputation beyond repute
Mac Specs: 12" Apple PowerBook G4 (1.5GHz)

technologist is offline
Quote:
Originally Posted by NiceKidDoRoxx
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...

thx b4.
I'm not trying to be sarcastic or mean, but if you can figure out how to program in C, you can figure out how to do it using gcc/Xcode.
QUOTE Thanks
NiceKidDoRoxx
Guest
 
Posts: n/a

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?



thx everyone!
QUOTE Thanks
lil
Guest
 
Posts: n/a

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 */

#include <stdio.h>

main()
{
int x, y;
x=5;
y=10;
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.

Vicky
QUOTE Thanks
NiceKidDoRoxx
Guest
 
Posts: n/a

getting' used to it...! thx everyone...! ^__^"
QUOTE Thanks

Post Reply New Thread Subscribe


« Let's end the Microsoft monopoly: Give Apple and Linux a fair chance. | External HDD File Format »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Connecting to Mac from PC problem beetlejelly OS X - Operating System 11 08-23-2012 10:47 AM
Window users that are MAC WANNA BE'S! jdoverkill Switcher Hangout 47 10-12-2006 03:48 PM
It's called a Mac iSheep Schweb's Lounge 22 10-13-2004 06:35 PM

All times are GMT -4. The time now is 06:29 AM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?