Showing posts sorted by date for query cpp. Sort by relevance Show all posts
Showing posts sorted by date for query cpp. Sort by relevance Show all posts
How to create Constructor in CPP

How to create Constructor in CPP

agyanadda
#include using namespace std; //create class class Student{ public: // A.s int id; //D.M string nm; // D.M //member function void insert(int i, string n){ id=i; nm=n; }