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
OS X - Development and Darwin Discussion and questions about development for Mac OS X.

ANSI C with xcode3


Post Reply New Thread Subscribe

 
Thread Tools
wimmi3

 
Member Since: Jun 23, 2008
Location: Altenmarkt/Zauchensee (Austria)
Posts: 1
wimmi3 is on a distinguished road
Mac Specs: MacBook Pro ++ 2.2 GHZ C2D ++ 2GB 667 DDR2 SDRAM ++ GeForce 8600 GT 128MB ++ 160GB

wimmi3 is offline
hi,

i'm a student from austria learning ansi c an java.. because i'm the only one with a mac in class, i get no support from the teachers for programming with xcode. and because of that, i have some questions to you

i'm making a programm in ansi c, but there is a problem with the libraries - they are not there. (windows.h, conio.h..)

yesterday i searched a librarie for getch().. but i couldn't found one - today i have another problem with atoi()..

so.. my question to you -> are there any libraries for these functions? or is it better, when i install parallels or something like that to programm ansi c?

ps: my english is not the best, sorry for that

sincere regards,
wimmi3
QUOTE Thanks
xstep

 
xstep's Avatar
 
Member Since: Jun 25, 2005
Location: On the road
Posts: 3,231
xstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to all
Mac Specs: 2011 MBP, i7, 16GB RAM, MBP 2.16Ghz Core Duo, 2GB ram, Dual 867Mhz MDD, 1.75GB ram, ATI 9800 Pro vid

xstep is offline
A basic Google search shows that those first two .h files are NOT ansi C, but Microsoft proprietary add-ons.

A possible replacement for conio.h might be ncurses.

Do a man for ncurses, getch, and atoi in the Terminal.

I'd say since you are clearly doing Microsoft specific coding that you would be better off installing a VM with the appropriate Microsoft OS and programming tools.

CameraTime - Time lapse photography for novice and advanced users.

When asking questions, post the version of your software. You'll receive better answers.

Please post your results to the thread as it is good feedback.
QUOTE Thanks

Post Reply New Thread Subscribe


« Cocoa Programming for Mac OS X | Odd hotkeys »
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
xcode3 installer crashes fergy8888 OS X - Development and Darwin 0 06-10-2008 07:15 PM
Compile source code GCC ANSI C verbatim210 OS X - Development and Darwin 3 08-27-2007 08:46 AM

All times are GMT -4. The time now is 06:04 PM.

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?