0% found this document useful (0 votes)
33 views7 pages

Basic Programming Lab: NITR / 8 Dec 2021

The document provides an overview of basic programming lab instructions, focusing on operating systems and installation procedures for MacOS, Windows, and Linux. It includes steps for installing VirtualBox and Ubuntu, as well as a simple 'Hello World' C program example. Additionally, it outlines the commands needed to create and run a C program using the terminal.

Uploaded by

IsSid
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
33 views7 pages

Basic Programming Lab: NITR / 8 Dec 2021

The document provides an overview of basic programming lab instructions, focusing on operating systems and installation procedures for MacOS, Windows, and Linux. It includes steps for installing VirtualBox and Ubuntu, as well as a simple 'Hello World' C program example. Additionally, it outlines the commands needed to create and run a C program using the terminal.

Uploaded by

IsSid
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 7

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

You might also like