Some useful shell scripts to compile and run C++ , C and Java Programs. Some other scripts are also in others folder.
./cpp.sh file_name.cpp
./outcpp.sh file_name.cpp
./java.sh
./outjava.sh
- The input is read from a input.txt file. If you don't want it then modify .sh files as required.
- Here we are assuming that java file name is "test.java" which can be changed later as per convinience
- Don't forget to make input.txt and output.txt files in the same directory in which your program is.
- If the input.txt and output.txt reside in any other place , provide full path in .sh files