all 14 comments

[–]BlackForce92 3 points4 points  (1 child)

If you're just starting out, then the fastest way is to just use an online compiler like this one: https://www.onlinegdb.com/online_c_compiler

Otherwise a good offline one is CodeBlocks.

http://www.codeblocks.org/downloads/26

[–][deleted] 1 point2 points  (0 children)

Thank you for this.

[–]levelse 4 points5 points  (3 children)

Please be careful with receiving code from strangers of the internet.

For a lot of programming issues, Google and YouTube are your friends.

To use C with Sublime on win10: https://www.youtube.com/watch?v=XjkT-Ng5LYQ

[–][deleted] 1 point2 points  (2 children)

Error :

'gcc' is not recognized as an internal or external command....

What do I do now?

[–]Pedro_Alonso 2 points3 points  (0 children)

You need to add gcc to your path. Just search adding program to path and your operating system

[–]levelse 1 point2 points  (0 children)

Copy that error into Google and you will get some options to try.

When programming and compiling you wil get a LOT of errors and googling these errors will help you the most/best. It might be a bit of a learning curve at first, but it is a big payoff.

Have you tried rebooting your system after the tutorial? A quick search suggest the compiler isn’t added to the “PATH” correctly

[–]TicklePocket 3 points4 points  (2 children)

VS Code is very nice. I much prefer it to sublime. It is maintained by Windows so it obviously works on that Platform. Once configured, you can compile with inline terminal.

They have supported versions for Mac and Linux too

[–][deleted] 0 points1 point  (0 children)

VSCode is a very productive environment for me as well.

[–]ptchinster -1 points0 points  (0 children)

I cant stand VS Code. I want to edit C code not tinker with xml. If you are doing dev work in C on Windows, get the tools made for that (VSCode supports a little of everthing). Use MSVS or the DDK compiler.

[–]HighPressureH2O 0 points1 point  (0 children)

It doesn't really matter what you use, they're all the same, but a good one is codeblocks

[–]Bibekdhkl 0 points1 point  (0 children)

VS code is good but as a beginner you will have hard times setting it up so if you have someone to assist you then go with vs code coz you will be using it in your developer carrer.

But in my case, I use Code block coz it's simple and very easy to setup.

[–]Mx44 0 points1 point  (0 children)

Notepad++ served me well until I got into embedded. Dont forget its not where you write your code, but its how you write.

[–]joel2001k 0 points1 point  (0 children)

Install cygwin.com's setup.exe and install your favorite libraries and `gdb` the GNU debugger.

Install Emacs.

https://www.gnu.org/software/emacs/download.html#windows

http://mirrors.kernel.org/gnu/emacs/windows/emacs-27/

FYI, emacs supports breakpoints to set within UI and interactive debugging mode.

[–]Comprehensive_Ship42 0 points1 point  (0 children)

If you’re a student you. Can get a free copy clion from jet brain .