OOP ল্যাংগুয়েজের এর তালিকাঃ

  1. C++
  2. Java
  3. Visual Basic
  4. Visual C++
  5. Visual J++
  6. Smalltalk

OPP এর সুবিধা-অসুবিধাঃ

  1.  a
  2. b
  3. c
  4. d
  5. e
  6. f
  7. g
  8. h
  9. j
  10. i
  11. k
  12. l
  13. m

 

সি প্লাস প্লাস

 

  • Include File
  • Class Declaration
  • Member Function Declaration
  • Main Function()

C++ Invented in 1983

By AT & T

At first, it was called C with Class

Basic Structure:

#include <iostream>

using namespace std;

class add {

                     private:

                    int n1,n2,r;

                   public:

                  void sum()

}

void add:sum()

 {

cout << “Enter Value of number 1 & 2:”;

cin >> n1 >> n2;

r=n1+n2;

cout << “summation: ” << r;

}

int main() {

add M;

M.sum();

}

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s