I’m taking a class in C++ at my university, and wanted to continue using Atom as my primary editor in Linux. However, I’m unsure on how to set up my environment to be able to program the language easily. More specifically, how do I best compile my code and test it? Currently, I’m using the script-plugin in order to compile my code, which works wonderful until I have to enter some input to test my code - which my exercises unfortunately require a lot.
My alternative is always having a terminal open in the background, manually compiling the code with g++ every time I want to test it, and then executing the file. Thus taking a lot of time and effort.
Any idea on how to do this more swiftly? I’d rather not switch editor, since Atom has worked very well for me until now. Thanks in advance.