Basic Programming Lab
— — 0x01
NITR / 8 Dec 2021
Introduction
Overview //001
• Operating System (OS)
• Installation
Operating System (OS)
//010
1. Any Linux Flavour
(Ubuntu / Fedora)
2. MacOS
3. Windows
Installation
//011
-- For MacOS Users -- For Windows Users -- For Linux Users
Step1: Use Terminal Step1: Download & Step1: Use Terminal
Install VirtualBox
(.exe)
Step2: Download
Ubuntu Image
Step 3:Install Ubuntu
on VirtualBox
Download Links
//100
VirtualBox: https://www.virtualbox.org/wiki/Downloads
Ubuntu Image: https://ubuntu.com/download/desktop
Installation: https://itsfoss.com/install-linux-in-virtualbox/
Hello World
//101
#include<stdio.h>
int main()
printf("Hello World");
return 0;
}
Run a program
//110
gedit <file_name>.<extension>
gcc <file_name>.<extension>
./a.out
gedit hello_world.c
gcc hello_world.c
./a.out