Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <string>
- using namespace std;
- class Node{
- private:
- int prn;
- string name;
- Node *next;
- public:
- Node (int prn, string &name){
- this->prn = prn;
- this->name = name;
- next = nullptr;
- }
- };
- int main() {
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment