Overclock.net › Forums › Software, Programming and Coding › Coding and Programming › Xcode and Eclipse C/C++ Compilers
New Posts  All Forums:Forum Nav:

Xcode and Eclipse C/C++ Compilers

post #1 of 8
Thread Starter 
Does anyone know how to work these freakin programs? All i want to do is make a simple .c file and compile it. I'm only doing the little examples in my textbook, stuff like: printf("Haha, you suck!");

In both Xcode and Eclipse, the build options are grayed out. I can make a .c file in Xcode, but i can't compile it or anything.

Please help
post #2 of 8
I use Microsoft Visual Studio For this, but it should still apply.
Is the debug button grayed out as well?
My Pwny!
(13 items)
 
  
CPUMotherboardGraphicsRAM
Phenom II 920 Asus M3A79-T Deluxe 6950 2GB 8GB @ 800Mhz 
Hard DriveOSPowerCase
Perc 5/i Raid 0 w/ 2x 320GB + Raid 5 w/ 6x 750GB Windows 7 x64 Pro Antec 850W Antec 1200 
  hide details  
Reply
My Pwny!
(13 items)
 
  
CPUMotherboardGraphicsRAM
Phenom II 920 Asus M3A79-T Deluxe 6950 2GB 8GB @ 800Mhz 
Hard DriveOSPowerCase
Perc 5/i Raid 0 w/ 2x 320GB + Raid 5 w/ 6x 750GB Windows 7 x64 Pro Antec 850W Antec 1200 
  hide details  
Reply
post #3 of 8
Thread Starter 
Quote:
Originally Posted by bruestle2 View Post
I use Microsoft Visual Studio For this, but it should still apply.
Is the debug button grayed out as well?
All the options in Debug are greyed out

All i want is a simple compiler to follow my textbook with
post #4 of 8
Bloodshed Dev C++ is one of the best free IDE's, its what I use to do some of my C++ coding in. Pretty self explanitory, and it does allow you to compile
It's about time!
(13 items)
 
  
CPUMotherboardGraphicsRAM
Q6600 G0 @3.3Ghz Gigabyte EP45-UD3P Sapphire 2900Pro Flashed to XT 4Gb Gskill 1066Mhz PK's 
Hard DriveOptical DriveOSMonitor
Seagate Barracuda 320Gb & WD Black 640Gb Lite On Vista Business and VMWare Ubuntu Acer AL2223W 22" 
KeyboardPowerCaseMouse
Ergonomic 4000 Corsair HX 620W CM 690 G5 
  hide details  
Reply
It's about time!
(13 items)
 
  
CPUMotherboardGraphicsRAM
Q6600 G0 @3.3Ghz Gigabyte EP45-UD3P Sapphire 2900Pro Flashed to XT 4Gb Gskill 1066Mhz PK's 
Hard DriveOptical DriveOSMonitor
Seagate Barracuda 320Gb & WD Black 640Gb Lite On Vista Business and VMWare Ubuntu Acer AL2223W 22" 
KeyboardPowerCaseMouse
Ergonomic 4000 Corsair HX 620W CM 690 G5 
  hide details  
Reply
post #5 of 8
personally if I'm on windows I use Code::Blocks. It's relatively new, but I like it.
Theseus
(14 items)
 
  
CPUMotherboardGraphicsRAM
i7 920 Asus P6T Sapphire 4870 512MB G.Skill 
RAMHard DriveOSMonitor
G.Skill 6GB WD 640GB AALS Windows 7 Samsung 22" 
KeyboardPowerCaseMouse
Logitech Wireless K750 Corsair 850TX Fractal Design Arc Midi Logitech MX518 
  hide details  
Reply
Theseus
(14 items)
 
  
CPUMotherboardGraphicsRAM
i7 920 Asus P6T Sapphire 4870 512MB G.Skill 
RAMHard DriveOSMonitor
G.Skill 6GB WD 640GB AALS Windows 7 Samsung 22" 
KeyboardPowerCaseMouse
Logitech Wireless K750 Corsair 850TX Fractal Design Arc Midi Logitech MX518 
  hide details  
Reply
post #6 of 8
Thread Starter 
Ah, forgot to mention: OS X

XD
post #7 of 8
Quote:
Originally Posted by The Hundred Gunner View Post
Ah, forgot to mention: OS X

XD
Gah, the one enviroment I'm clueless in. I know there's tons of emulation options available, great for some high level stuff, but if your trying to write some osx specific stuff, I got nothin.
Theseus
(14 items)
 
  
CPUMotherboardGraphicsRAM
i7 920 Asus P6T Sapphire 4870 512MB G.Skill 
RAMHard DriveOSMonitor
G.Skill 6GB WD 640GB AALS Windows 7 Samsung 22" 
KeyboardPowerCaseMouse
Logitech Wireless K750 Corsair 850TX Fractal Design Arc Midi Logitech MX518 
  hide details  
Reply
Theseus
(14 items)
 
  
CPUMotherboardGraphicsRAM
i7 920 Asus P6T Sapphire 4870 512MB G.Skill 
RAMHard DriveOSMonitor
G.Skill 6GB WD 640GB AALS Windows 7 Samsung 22" 
KeyboardPowerCaseMouse
Logitech Wireless K750 Corsair 850TX Fractal Design Arc Midi Logitech MX518 
  hide details  
Reply
post #8 of 8
When using xcode you have to make a project and then edit the default main.cpp to get it to compile. Annoying but thats how it goes.
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Coding and Programming
Overclock.net › Forums › Software, Programming and Coding › Coding and Programming › Xcode and Eclipse C/C++ Compilers