For college purposes, I need a quick, and light C IDE. Been using DevC++, since it's easy enough to create a new source file, enter code, and compile, without the need for creating projects, dependencies etc.
Problem with DevC++ is that the editor has some pretty bad highlighting and options. Notepad++ is miles ahead.
Could anyone tell me how exactly to do that, and to which file? DevC++ is based on GCC, so it has gcc.exe in its root folder.
In lixux, the gcc syntax is, if I remember correctly:
gcc inputname.c -o outputname
Anyway, to sum it up, I would need the following: When you press F5, n++ calls GCC, and compiles and runs a new file, with its filename the same as the source code filename.
Question
Punio4
For college purposes, I need a quick, and light C IDE. Been using DevC++, since it's easy enough to create a new source file, enter code, and compile, without the need for creating projects, dependencies etc.
Problem with DevC++ is that the editor has some pretty bad highlighting and options. Notepad++ is miles ahead.
Now, I found that Notepad++ has options to run an external program, with arguments, when pressing F5, explained on the following link: http://notepad-plus.sourceforge.net/uk/run-HOWTO.php
Could anyone tell me how exactly to do that, and to which file? DevC++ is based on GCC, so it has gcc.exe in its root folder.
In lixux, the gcc syntax is, if I remember correctly:
Anyway, to sum it up, I would need the following: When you press F5, n++ calls GCC, and compiles and runs a new file, with its filename the same as the source code filename.
Thanx in advance :)
Link to comment
https://www.neowin.net/forum/topic/570975-linking-notepad-to-run-a-compiler-on-f5/Share on other sites
8 answers to this question
Recommended Posts