What's a good IDE for C

PrisonLove

Hard Realist
Reaction score
78
What the title says, what is a good IDE for writing programs in C? One much like Dr. Java, which has a compiler that can catch syntax and other errors.
 

tooltiperror

Super Moderator
Reaction score
231
The sad truth is your going to be best off using Objective-C on a mac. Objective-C is an extension of C, but it's closer to C than C++ is. For example, this is a C Hello, World.

Code:
#include <stdio.h>
 
int main(void)
{
    printf("hello, world\n");
    return 0;
}

And this is a completely legal although not recommended hello-world in Objective-C.

Code:
#include <stdio.h>
 
int main(void)
{
    printf("hello, world\n");
    return 0;
}

If you have any brain cells, you can probably see they are exactly the same. That is to say, Objective-C is only an extension to C. Anything that is done in C can be done in Objective-C. An Objective-C compiler can compile C. This should show you how close they are.

Of course, the best Objective-C IDE is XCode, and therefore, it's reasonable to write C on it. It allows you to write C applications as a template, but if you want to use Cocoa, you're going to need Objective-C.

TL;DR - Learn Objective-C, then C, and use C in your Objective-C for mac programs.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top