all about coding or programming.I will share the code related to management systems,games etc in different programming languages such as c++,java,MIPS,html,css,oop,data structures etc
Multiple inheritance,friend function and multiple file Task 1 Create Class Person with variables weight,height, gender. Create another Class Employee with variables designation, HoursPerDay. Now create another class Teacher and inherit it from Person and Employee and add function display() which should show all the details related to teacher. #include<iostream> #include<string> using namespace std; class Person{ int weight, height; string gender; public: Person() { weight = height = 0; gender = "0"; cout << "Default person" << endl; } }; class Employee{ string designation; int hourPerRate; public: Employee(){ designation = "0"; hourPerRate = 0; ...
Concepts of OOP So Sir, this is a good question for programming to ask about the oop. so, In this artical i will tell you about the object oriented programming of c++. Why i choose the oop of c++ not of java or any other programming language so the answer is this that we are learning the c++ therefore we should start the introduction of oop. When we will start learning any other programming language than we will start the other parts of other programming languages. What is OOP? There are two types of programming languages one is procedural oriented and the other is object oriented programming language. Simply we learn the procedural programming language first than we starts the object oriented programming language. And the main questions from us is this that what is object oriented programming so the answer of this question is that oop is the programming l...
Concepts in c++ And I choose the topic for today is the concepts of c++ and first of all i will make the list for all of them than i will tell little bit about them should we start from here? I think no. We should understand the overview first that what is c++ why i am talking about the c++ so the answer of it is this that c++ is a programming language which is the fastest programming language and can access the hard of computer directly this is the reason this is the fastest language uses to make the software,games, management systems and games etc. So the topics of this language are these: 1)Introduction to c++ 2)Data types 3)header-files 4)Rules 5)if-else/if-else-if/if statements 6)loops(f...
Comments
Post a Comment