I'm currently learning C with a book that has many small code examples that the reader is supposed to write, run and experiment with. I'm using Emacs as my primary tool for everything that has to do with writing, especially LaTeX and Org-Mode to date. I'm already using Emacs for my C-stuff but there are always ways to optimize. Specifically i'm searching for a way to have a key-binding, that saves, compiles and runs the file that is my current buffer!
Chances are, that there are some included files that also need to be considered in the build process.
All IDEs that i know of have a "compile and run" button and are not using any Makefiles and such (which would be overkill in my situation).
Is there a way or a package to achieve my expected behavior or would i be better off with using Qt-Creator or Visual Studio? I've done a quick google search but have found nothing satisfying yet. Would be thankful if someone could help me out because manually saving, compiling and calling the binary can get tedious if you're writing 20-30 smaller programs a day