Set of Placement-driven coding questions done in multiple programming languages; Java,C++,C,Python and so on. This is a 3 Phase program each consisting of a number of levels under which there are a number of questions solved.
- C/C++
- Install TCC-MinGW compiler for executing and compiling C and C++ files.
- Set the path to the bin of TCC by going to Environment variables and adding a new path.
- Open command line and run the commands
gcc -o outputfile filename.c
andoutputfilename.exe
for C. - Respectively for C++,
g++ -o outputfile filename.cpp
andoutputfilename.exe
. This is for compilation and execution.
- Java
-
Install the latest JDK and set path to bin.
-
Disclaimer: JDK 11 cannot be used for professional use. Stick with JDK 8 for avoiding your application from getting stripped down.
-
Setting path is easy as this -
C:\Guru> set path=%path%;C:\Program Files\Java\jdk1.8.0_101\bin
. Run this in cmd. -
Open command line and run
C:\Guru> javac filename.java
andC:\Guru> java filename
. -
Important: Rename
.java
files to the respective class names(Having PSVM)
or vice-versa for compilation.
-
- Python
- Install Python for Windows.
- Set the path and enter
python
in cmd to enter the python shell. - To execute a script file run
python filename.py
.
Pull requests are accepted.
Thank you for stopping by.