প্রোগ্রামিং ল্যাংগুয়েজ ২ ক্লাশ(১৪-০২-২০১৭)

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

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

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

    1.  a
    2. b
    3. c

    1. d
    2. e
    3. f
    4. g
    5. h
    6. j
    7. i
    8. k
    9. l

 

  1. 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

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 )

Google+ photo

You are commenting using your Google+ 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 )

w

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.