-1

I've searched many methods, but couldn't find best C compiler. Earlier, I used Win7. In that, I've used Turbo C/C++ v4 compiler. It will open in DOSBox. So, I've installed DOSBox in Ubuntu 15.10. I've pasted the same folder (which I used in Win7) on desktop. Opened TC.exe from BIN. Its text editor is running, but it is not compiling the programs....

1 Answers1

1

"Open C"? What do you mean? And how would you "install C"? You don't need DosBOX for that, and I think you have a misunderstanding.

You can create your C code and use tools such as GCC (GNU Compiler Collection) to compile it. I think that's what you mean.

You can install GCC and some other basic development/building tools with the package build-essential in Ubuntu.

To install it with APT, make sure you have the "main" repository enabled in Software and Updates and run, in a terminal:

sudo apt-get install build-essential

Eduardo Cola
  • 5,876
  • 3
  • 20
  • 33