Results 1 to 2 of 2
  1. #1

    Member Since
    Jun 23, 2008
    Altenmarkt/Zauchensee (Austria)
    MacBook Pro ++ 2.2 GHZ C2D ++ 2GB 667 DDR2 SDRAM ++ GeForce 8600 GT 128MB ++ 160GB
    Question ANSI C with xcode3

    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,

  2. #2

    xstep's Avatar
    Member Since
    Jun 25, 2005
    On the road
    2011 MBP, i7, 16GB RAM, MBP 2.16Ghz Core Duo, 2GB ram, Dual 867Mhz MDD, 1.75GB ram, ATI 9800 Pro vid
    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.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. xcode3 installer crashes
    By fergy8888 in forum macOS - Development and Darwin
    Replies: 0
    Last Post: 06-10-2008, 06:15 PM
  2. Compile source code GCC ANSI C
    By verbatim210 in forum macOS - Development and Darwin
    Replies: 3
    Last Post: 08-27-2007, 07:46 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts