know yourselves. information, computer, 7 wonders, various.

Monday, November 6, 2017

C++ programming language part- 75 Representing a Node


Representing a Node

Program 50_1
            //linkedList node.demo
            class node
            {
            char name[10];
            public:
            void accept()
            {
            cout<
            cin>>name;
            }
            void display()


            {
            cout<
            }
            };
            main()
            {
            node L;
            L.accept();
                        //L.accept();
                        //L.display();
            L.display();
            }