• Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.

Programming C

LORD_OF_WAR

New Member
Joined
Oct 23, 2008
Messages
29 (0.01/day)
Location
H4><0RR1NG 1N2 TEH 4-RAMMS
System Name Custom Built Pr0n Star
Processor Intel C2D E4500
Motherboard Asrock 4CoreDual SATA2
Cooling 3 Chassis Fans and Standard Intel CPU Cooler
Memory 2GB DDR2 667
Video Card(s) Galaxy 8600GT 512
Storage 320GB Sata soldered to motherboard
Display(s) 17" Viewmaster
Case Thermaltake Wing RS101
Audio Device(s) Onboard
Power Supply Coolermaster eXtreme Power 600W
Software Windows XP
I need help with programming C, please. all i need right now is an IDE to use. as far as i know, there is no Microsoft Visual for C, only C# and C++ Anything that comes with a compiler would be great.

regards,

L_O_W
 
Joined
Oct 24, 2004
Messages
1,294 (0.18/day)
as your profil says, keep "H4><0RR1NG 1N2 TEH 4-RAMMS" and you will suceed eventually :roll:
 

qamulek

New Member
Joined
Feb 7, 2008
Messages
184 (0.03/day)
I thought C++ was an extension of C? So grab that C++ compiler and ignore anything C++ related and just use C. Thats what I pretty much do since C does anything I want to do at this time. I use visual studio and have used the regular console application project, and it is pretty much just like djgpp or the other freeware compilers[ide's? i forget since its been awhile] just without the setup hassle. If your a student visual studio is reasonably priced, but if not then the standard addition is a bit much to swallow[especially considering I program for fun not profit] x.x

Have fun learning C :toast:
 

LORD_OF_WAR

New Member
Joined
Oct 23, 2008
Messages
29 (0.01/day)
Location
H4><0RR1NG 1N2 TEH 4-RAMMS
System Name Custom Built Pr0n Star
Processor Intel C2D E4500
Motherboard Asrock 4CoreDual SATA2
Cooling 3 Chassis Fans and Standard Intel CPU Cooler
Memory 2GB DDR2 667
Video Card(s) Galaxy 8600GT 512
Storage 320GB Sata soldered to motherboard
Display(s) 17" Viewmaster
Case Thermaltake Wing RS101
Audio Device(s) Onboard
Power Supply Coolermaster eXtreme Power 600W
Software Windows XP
I thought C++ was an extension of C? So grab that C++ compiler and ignore anything C++ related and just use C. Thats what I pretty much do since C does anything I want to do at this time. I use visual studio and have used the regular console application project, and it is pretty much just like djgpp or the other freeware compilers[ide's? i forget since its been awhile] just without the setup hassle. If your a student visual studio is reasonably priced, but if not then the standard addition is a bit much to swallow[especially considering I program for fun not profit] x.x

Have fun learning C :toast:


Ok, heres da thang:

the Microsoft Visual C++ does not allow you to create a .C file, only .CPP, so that is why i need something else . . . .
 

FordGT90Concept

"I go fast!1!11!1!"
Joined
Oct 13, 2008
Messages
26,259 (4.63/day)
Location
IA, USA
System Name BY-2021
Processor AMD Ryzen 7 5800X (65w eco profile)
Motherboard MSI B550 Gaming Plus
Cooling Scythe Mugen (rev 5)
Memory 2 x Kingston HyperX DDR4-3200 32 GiB
Video Card(s) AMD Radeon RX 7900 XT
Storage Samsung 980 Pro, Seagate Exos X20 TB 7200 RPM
Display(s) Nixeus NX-EDG274K (3840x2160@144 DP) + Samsung SyncMaster 906BW (1440x900@60 HDMI-DVI)
Case Coolermaster HAF 932 w/ USB 3.0 5.25" bay + USB 3.2 (A+C) 3.5" bay
Audio Device(s) Realtek ALC1150, Micca OriGen+
Power Supply Enermax Platimax 850w
Mouse Nixeus REVEL-X
Keyboard Tesoro Excalibur
Software Windows 10 Home 64-bit
Benchmark Scores Faster than the tortoise; slower than the hare.
You have to go into the project build settings to change the compiler from C++ to C. The extension really doesn't matter.

In Visual Studio 2008:
Project -> Properties -> Configuration Properties -> C/C++ -> Advanced -> Compile As: Compile as C Code (/TC)


The file extensions really don't matter. If you want, you can just rename all the .cpp files to .c.
 
Last edited:

LORD_OF_WAR

New Member
Joined
Oct 23, 2008
Messages
29 (0.01/day)
Location
H4><0RR1NG 1N2 TEH 4-RAMMS
System Name Custom Built Pr0n Star
Processor Intel C2D E4500
Motherboard Asrock 4CoreDual SATA2
Cooling 3 Chassis Fans and Standard Intel CPU Cooler
Memory 2GB DDR2 667
Video Card(s) Galaxy 8600GT 512
Storage 320GB Sata soldered to motherboard
Display(s) 17" Viewmaster
Case Thermaltake Wing RS101
Audio Device(s) Onboard
Power Supply Coolermaster eXtreme Power 600W
Software Windows XP
problem solvered, thanks for the help!!!
 

GearUp

New Member
Joined
Feb 4, 2009
Messages
3 (0.00/day)
Well, Lord of wars the best probably for C is probably GNU IDE on windows and dos. This is free opensource and comes with gcc compiler. But you need to download some extra libraries before you can use.
Go to this site for details:

http://gcc.gnu.org/
 
Top