Programming in C without an IDE is death

/ bocabit / dev , personal

C es la muerte

This Easter I was confined at home for a couple of days because I had to do part of a practice for a subject in my degree: Operating Systems, in which we have to program a Unix Shell. Said like that, it doesn’t seem too complicated, but the problem is that they ā€˜invite us’ to do it from the terminal, writing the code in a text editor and compiling and debugging it by hand. Hell for any normal person who has only programmed in C/C++ in a subject using Visual Studio.

The option I considered was to use Ubuntu, but I couldn’t even compile with the programs I tried. Also, aesthetically they stunk quite a bit, things as they are. So I thought I would have no choice but to do the practice in Visual Studio and test the system calls on the faculty server by uploading it via FTP, a pain in the ass. Unfortunately, this is how most people are forced to do it, since at this point in life, starting to program C in a text editor is a bit… outdated?

Luckily, Javi reminded me that **Mac OS And thank goodness. I first decided to try XCode, but it seemed too complicated, so I ended up installing Eclipse and all my problems disappeared. The system calls work as they should, the errors are quite clear (no segfaults…:)) and debugging and editing the code is extremely easy.

So you know, if one day you find yourself in a similar situation, in which you need to program in C, I recommend Eclipse, and for Java, too. :)

Related LinkDownload Eclipse C/C++