This repository contains all the codes for the 3 labs present in SPPU Semester III Computer. You can find syllabus PDF online. Total codes are (DSL) 32 + (CGL) 16 + (OOPL) 7, this also includes the alternative questions in CGL, all the problem statements are in README
file in each folder. The following languages and libraries are used in each of the lab.
DSL
: Python 3 and C++17 (To compile programs, usepython ...
orpython3 ...
andg++ ...
with the name of your file (Make sure the path/directory in your terminal is correct))CGL
: C/C++ along withgraphics.h
and OpenGL libraries. Compilation: For CGL ifgraphics.h
(Installation) is used then include-lgraph
flag at the end asg++ ... -lgraph
, if compiling while usingOpenGL
libraries then use flagsg++ ... -lglut -lGLU -lGL
(For windows see here).OOPL
: Only C++17. Compilation: Just usingg++
.
- ⭐ Star this repo if you found it useful!
- Try to attempt the problem yourself too. If you find any errors or something missing then feel free to report it
- Anywhere,
Pure
means without using the in-built functions. Rest are self-explanatory and are just for exploring, ignore them - Do abide by the MIT License
-
- I would suggest DO NOT dual boot solely for the purpose of
graphics.h
, if anything you should dualboot for everything BUTgraphics.h
- Instead just get either VirtualBox or some other VM and install
Ubuntu 16.x
(Xenial) and then follow the GFG tutorial (You may come acrossguile
error which you can solve by using steps in AskUbuntu - Now do
graphics.h
programming in the VM. Take screenshots withPRINT SCREEN
and mail them to yourself
- I would suggest DO NOT dual boot solely for the purpose of
- You can see all files here
Pure
is present for those problems where the original program uses something not in syllabus (Range-based for loops in C++,zip
,list
,map
,enumerate
, or other such python functions, sets, STL functions, libraries likecctype
orcin.ignore()
or something else). I kept the original files just as a reference.- Other file names (Like
Extra
,STL
) are self-explanatory