This are the assignments given for Data Structures and C Lab, in IEM, Salt Lake, Kolkata. Assignments are for Electronics and Communication Engineering. 3rd year, 5th Semester. Year of submission : 2017.
All assignments are solved along with questions.
Assignments are sorted in folders with assignment name.
No need to install any software.
Open command prompt (usual shortcut Ctrl+Alt+T
).
Step 1 : Write your code in any text editor (Ex. gedit
). And save the file with .c
extension and no space in file name.
Step 2 : Compile using gcc
(Ex. gcc mycode.c
).
Step 3 : Run the executable a.out
file (Ex. ./a.out
).
Install IDE (we are using CodeBlocks here).
Open command prompt (usual shortcut Ctrl+Alt+T
).
Note : You have to go through Step 1 to Step 3 only once to install latest codeblocks.
Step 1 : Run sudo add-apt-repository ppa:damien-moore/codeblocks-stable
command. Enter password of pc if asked. And press enter when asked.
Step 2 : Run sudo apt update
.
Step 3 : Run sudo apt install codeblocks
.
Step 4 : Open codeblocks
.
Step 5 : Go to New->Wmpty File-> Write your code.
Step 5 : Go to save your code with .c
extension.
Step 6 : Click on build and run to execute your program.
Install IDE (we are using CodeBlocks here).
Step 1 : install codeblocks from Sourceforge.net.
Step 2 : Open codeblocks
.
Step 3 : Go to New->Wmpty File-> Write your code.
Step 4 : Go to save your code with .c
extension.
Step 5 : Click on build and run to execute your program.
Status : Finalized