Docsity

Data Structure and Algorithm Lab Task 01, Assignments of Data Structures and Algorithms

Toggle sidebar
bg1
LAB # 01 Data Structure & Algorithms Lab
1
Lab Task(s): Perform the following tasks:
Installation of Eclipse (Dev C++ or any other IDE for C/C++ programming can also be installed)
Installation of MinGW GCC Compiler (if required)
Installation of Eclipse C++ Development Tool (CDT) (for Eclipse only)
Create new C++ Programming Language file in your installed IDE.
Create a class named “Employee” with data members Name & Salary. Create a method in the
classdisplay to print the data members of an object. Create 3 objects of the class in the main
function and call the display method on all the objects.
Compile/build and run the program
Quit the IDE
1. Installation of Dev C++
pf3
pf4
pf5

Partial preview of the text

Download Data Structure and Algorithm Lab Task 01 and more Assignments Data Structures and Algorithms in PDF only on Docsity!

Lab Task(s): Perform the following tasks:

 Installation of Eclipse (Dev C++ or any other IDE for C/C++ programming can also be installed)  Installation of MinGW GCC Compiler (if required)  Installation of Eclipse C++ Development Tool (CDT) (for Eclipse only)  Create new C++ Programming Language file in your installed IDE.  Create a class named “Employee” with data members Name & Salary. Create a method in the classdisplay to print the data members of an object. Create 3 objects of the class in the main function and call the display method on all the objects.  Compile/build and run the program  Quit the IDE

  1. Installation of Dev C++
  1. Compile/build and run the program
  1. Quit the IDE