Hello friends , I have started with writing  c code on mac using xcode .....but one of my friend told me to use gcc for coding. He started with terminal And used a text editor to compil the c program on his mac.. So please tell me how to do the same

Hello friends , I have started with writing  c code on mac using xcode .....but one of my friend told me to use gcc for coding. He started with terminal And used a text editor to compil the c program on his mac.. So please tell me how to do the same and is there any pre stalled text editor on mac if yes then where and if no then which text editor to install and how to install gcc...please help me out thanks in advance !!!

I have started with writing  c code on mac using xcode .....but one of my friend told me to use gcc for coding.
Why? If you are developing and writing code on a Mac why would you not use the tools Apple has given you? And Xcode, once you get use to it, is a very nice development environment that will make you life a whole lot easier.
If you insist on using an editor and the terminal I would recommend  Emacs   but it has a long learning curve so  something like TextWrangler  will work too.
As for the compiler if you have Xcode installed install the command line tools and you will be able to compile from the terminal.
good luck

Similar Messages

  • Hi  can any body please tell me how to open the .exe files in mac and why it is not supported with unarchiever app , also i am not able to run and dvd's in my mac its not accepting any cd's or dvd'd why do i need to do some settings for it ?

    Hi  can any body please tell me how to open the .exe files in mac and why it is not supported with unarchiever app , also i am not able to run and dvd's in my mac its not accepting any cd's or dvd'd why? do i need to do some pre defined  settings to run the cd's and dvd's ?

    A .exe file is a Windows executable. OS X does not run Windows programs. If you need to use .exe files then you will need to install Windows on your Mac:
    Windows on Intel Macs
    There are presently several alternatives for running Windows on Intel Macs.
    Install the Apple Boot Camp software.  Purchase Windows XP w/Service Pak2, Vista, or Windows 7.  Follow instructions in the Boot Camp documentation on installation of Boot Camp, creating Driver CD, and installing Windows.  Boot Camp enables you to boot the computer into OS X or Windows.
    Parallels Desktop for Mac and Windows XP, Vista Business, Vista Ultimate, or Windows 7.  Parallels is software virtualization that enables running Windows concurrently with OS X.
    VM Fusionand Windows XP, Vista Business, Vista Ultimate, or Windows 7.  VM Fusion is software virtualization that enables running Windows concurrently with OS X.
    CrossOver which enables running many Windows applications without having to install Windows.  The Windows applications can run concurrently with OS X.
    VirtualBox is a new Open Source freeware virtual machine such as VM Fusion and Parallels that was developed by Solaris.  It is not as fully developed for the Mac as Parallels and VM Fusion.
    Note that Parallels and VM Fusion can also run other operating systems such as Linux, Unix, OS/2, Solaris, etc.  There are performance differences between dual-boot systems and virtualization.  The latter tend to be a little slower (not much) and do not provide the video performance of the dual-boot system. See MacTech.com's Virtualization Benchmarking for comparisons of Boot Camp, Parallels, and VM Fusion. Boot Camp is only available with Leopard or Snow Leopard. Except for Crossover and a couple of similar alternatives like DarWine you must have a valid installer disc for Windows.
    You must also have an internal optical drive for installing Windows. Windows cannot be installed from an external optical drive.

  • Hi Everyone, i lost my KN presentation that i spent a day with my boss to finish it. I lost it by mistakenly shutting down my Macbook pro. Can anyone please tell me how to recover the files back as i'm really2 in trouble and my job depends on it...

    Hi Everyone,
    I lost my KN presentation that i spent a day with my boss to finish it. I lost it by mistakenly shutting down my Macbook pro. Can anyone please tell me how to recover the files back as i'm really2 in trouble and my job depends on it...
    hmmm...how i hate myself for being such a careless person...
    PLEASE HELP ME...
    Thank you in advance.
    Keynotes '09
    Version 5.1.1 (1034)

    How exactly did you shut down your laptop? Not a hard restart (holding down the power button), I hope... if that's the case, then it is extremely unlikely the file is still intact on your computer. If it is, it would be an image on your RAM, and it is time-and-resource-intensive to recover it if it is even there. RAM memory is disposable and always being written over. Sorry dude...
    If it wasn't a hard restart, Keynote should have made a backup, unless you 'Force Close'd it.
    It really all depends on how your mac was shut down.

  • In the libary of iPhoto I do have double pictures only in the year 2006. Can someone please tell me how to remove the double pictures. I did rebuilt the libary but that solution did not help me any further.

    In the libary of iPhoto I do have double pictures only in the year 2006. Can someone please tell me how to remove the double pictures. I did rebuilt the libary but that solution did not help me any further.

    I think the warning is very clear.
    What warning? Where do you say that this plan you suggest will lose at least some, and possibly a whole lot of metadata, plus  the original files of edited photos. This is significant dataloss. And you should warn people that this is the case.
    While your metadata and originals may not be important to you, that is not necessarily the case for other users.
    Fourthly, and last, cleaning the iPhoto library should be done at least once per year
    This is nonsense. The iPhoto Library has no need of "cleaning" and certainly not in any way that trashes a whole lot of data.
    I'm very impressed that you assess the application based on the sound of the name. It's not a common way to review applications, but I'm sure it has some merit.
    FWIW it has been recommended on this - and other - sites for many years and has proven safe and effective.
    Regards
    TD

  • TS4002 just recently, my i phone was stolen. Can anyone please tell me how to recover the photos, I presume I cloud would have it stored.

    just recently, my i phone was stolen. Can anyone please tell me how to recover the photos, I presume I cloud would have it stored.thanks

    Welcome to the Apple Community.
    You can recover any photos in photostream, by logging into your account on your computer. Any photos that are in the camera roll and not in photostream may be in your backup if yo kept one. When you replace your phone, restore it using this back up.

  • I'm using iphone 5 but its camera is not properly working. all the images i'm clicking are of dimension 600X800 and the size of the image is just 60-70 kb. now please tell me how to increase the dimension of images and its size.

    i'm using iphone 5 but its camera is not properly working. all the images i'm clicking are of dimension 600X800 and the size of the image is just 60-70 kb. now please tell me how to increase the dimension of images and its size.

    ''rojere [[#question-1055991|said]]''
    <blockquote>
    i try to keep my thumb palms off the mouse pad when i am typing but every now and then my screen resizes larger or smaller until i take my left palm off the keyboard base its only when my left palm is resting on the base next to the touch pad. i type pretty fast so it gets annoying and yes it also jumps screens or reverts back to previous message and i have to choose ctrl z to undo and get back to my message i was typing... it also switches tabs on me as well... not sure why my palm being on the left of the keypad on the base should effect anything but it does after a while. and i have to stop what i am doing...and go to the firefox menu and change the screen size back down to 100% sometimes it goes up to 200-300 other times it goes down to 70-80% i find it annoying i i wish there was a way to turn off the screen resize in the setup panel. if its just left to be 100% i am happy with that... i don't need it to be bigger or smaller... there should be a way to LOCK it down... i understand that there are people out there with eye problems and needs to have the screen size increase using the + or - but there should be a lock so it just stays no matter what is happening on my keypad or touch pad or base of the pad... that screen size will not increase or decrease. unless i turn off the lock... perhaps this is something they can implement in the next version or do a quick update of the browser
    </blockquote>
    sorry that is all greek to me thanks for attempting to explain what you were trying to explain sorry i just not tech person to be able to understand or where to begin ... have good day and thanks for again trying

  • Please tell me how to transferred the fields to IDOC.

    HI all,
    I have appended some new fields into the ztable structure (Ex: ZUNIT). These same fields will be transferred into the IDOC.
    Can any body, please tell me how to transferred the fields to IDOC.
    Thanks & Regards,

    HI,
    See the following link.
    http://publib.boulder.ibm.com/infocenter/wbihelp/v6rxmx/index.jsp?topic=/com.ibm.wbia_adapters.doc/doc/mysap4/mysap4149.htm

  • Please tell me how you got the computer to reboot again once it was on the black screen saying "setup is inspecting your hardware configuration?"

    Please tell me how you got the computer to reboot again once it was on the black screen saying "setup is inspecting your hardware configuration?"

    Hi,
    use the power-switch on the left backside of your iMac to turn your Mac off.
    Use it again to restart your Mac and hold down the Alt/Option-button to get to the Boot Selection screen.
    Choose OSX.
    Once in OSX go to System Preferences - Startup Volume and reset it to use OSX as the default.
    Am I right assuming that you try to install Windows XP on a new (2011) iMac ?
    If so, XP is no longer supported by Apple for use/install With BootCamp.
    But there are some success stories when using a XP with SP3.
    Regards
    Stefan

  • Someone please tell me how to define the cutout selection tool.

    Someone please tell me how to define the cutout selection tool.  Is there a way to adjust the outline once it is automatically selected?

    In my version it is called the Cookie Cutter tool. If this is what you are referring to, drag out the shape for the "cut", then adjust with the corner handles of the bounding box. You can also enter dimensions on the tool's option bar. Finally, commit with the green checkmark.
    HTH

  • Hi, can anyone please tell me how to install the Nik collection into Adobe Photoshop CC 2014.2.1

    Hi, can anyone please tell me how to install the Nik collection into Adobe Photoshop CC 2014.2.1 ?

    Glad I could help. Thanks for letting me know I did.
    Gene

  • Will someone please tell me how to change the name of a folder I created in Pages and saved to the cloud?

    Will someone please tell me how to change the name of a folder I created in "Pages" and saved to the "Cloud"? Thanks.

    Go to the open dialog in Pages and select iCloud.
    Click on the folder that you created on iCloud to open the folder.
    On the lower half of the window (the open folder) click on the name of the folder.
    Once you click and select the folder's name it should be editable.

  • Can anyone please tell me how to reset the passcode on an ipod touch?

    Can anyone please tell me how to reset the passcode on an Ipod Touch?

    Conect your iPod to yur computer and restore via iTunes. Place the iPod in recovery mode if necessary. For recovery mode see:
    iPhone and iPod touch: Unable to update or restore

  • Can any one please tell me how to configure the oracle data gaurd. in steps

    can any one please tell me how to configure the oracle data gaurd. in steps

    Hi,
    http://docs.oracle.com/cd/E11882_01/server.112/e25608/create_ps.htm#i63561
    http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r2/prod/ha/dataguard/physstby/physstdby.htm
    Regards
    Yoonas

  • Could someone please tell me how to get the voice turned off my iPad and to be able to move freely around on the screen?

    Could someone please tell me how to get the voice turned off my iPad and to be able to move freely around on the screen?

    A double-tap acts like a single tap and you need to use three fingers to scroll when VoiceOver is on:
    Press Home.
    Tap Settings. Then double-tap Settings.
    Tap General. Then double-tap General.
    Use three fingers on the screen to scroll to Accessibility.
    Tap Accessibility. Then double-tap Accessibility.
    Tap VoiceOver. Then double-tap VoiceOver.
    Tap "On" next to VoiceOver. Then double-tap "On" to turn it off.
    http://support.apple.com/kb/HT4064

  • Could you please tell me how to find the cause that made I/O high

    Could you please tell me how to find the cause that made I/O high
    please let me know

    hi ,
    Without any backgound inforamation it is very difficilate to help u out .
    Please Provide the statpack/Awr report durring that priode. oherwise top 5 wait event. so we can give some suggestion on this.

Maybe you are looking for

  • How can you create an online account for a family plan of 3?

    Hey there, I recently switched from T-mobile to Verizon and got a family plan(10 GB More Everything Plan with Verizon Edge) for my parents and myself at the store. Unlike T-mobile where you can see activities of all 3 phones, the Verizon online accou

  • Links within portfolio not working for me

    Acrobat 9; Word2007;XP I gave up trying to have links correctly transfer from msword to pdfs.  So I am manually creating each one in the portfolio i'm building. Problem:   The links are not preserved after I save the portfolio and re-open it. Setup: 

  • Nomad julebox Zen NX 30Go prob

    Hello !I have a problem with my nomad zen NX 30 Go: It was running very well, but today when I started it, the screen was blocked on "EAX", I can hear the harddri've disc turning for 0 secondes before it stops, but the screen still displays "EAX". I

  • Developing a Dynamic GUI with SDK 1.3.1

    For my master's project, I am developing a system which needs to read a file, and depending on the number of fields the file contains and their titles, dynamically add jCheckBoxes to a pane as part of a tabbed pane. Different files can be loaded by t

  • LSMW and MB1C

    Hi everyone, I'm trying to create a program with the  LSMW using the recording overview for the transaction MB1C. but the problem is that when I record the transaction I see that for every material that my batch input session creates it will create a