Programming g++.I cant stand it anymore switching with the up arrow for 1 of these 3 commands
>g++ code.cpp -o temp
The 1st to compile, the 2nd to run, the 3rd to clear
Can i put the into key shortcutsa some way like ctrl+1
Maybe i can at least put in a shortcut 'clear' and maybe there is a combined command for the 2 others.
I'm on Kubuntu primaly and Debian secondly
Mix commands in one with &&
clear && g++ code.cpp -o temp && ./temp
The above will run each command in turn, if the previous command exits without an error
Its even more convenient than Windows enviroments like VS or Dev!
( 1st ctrl+F5 - 2nd look down for errors - 3rd look up for console - which pops in diferent position/time )