If using this repository, do install MinGW to run c++ code on your system and install the JRE to run the java code.
Note that Linux comes installed with minGW/C++ compiler
The commands to run C++ code:
-
Move into the desired directory containing the C++ file.
-
Every operating system has a different terminal line of code to execute the C++ program:
- For Linux systems, first compile the code with the 'g++ filename' and then execute the code using './a.out'.
- For other operating systems, compile the code using 'g++ -o anyname filename' and then execute the code using './anyname'.
The commands to run the Java code:
-
Move into the desired directory containing the Java file.
-
Compile the Java code using 'javac filename'.
-
Run the Java code using 'java filename(without '.java' extension)'.
-
Data Structures:
- C++
- Java
-
Algorithms: