LinkList
// linklist.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include <iostream> using namespace std; //Make a class named node whose instances will be used in LinkList //class class node { friend class linklist; private : int val; node *next; public : //Sets value of variable val to the argument passed. void setvalue( int x) { val=x; } //Returns value of variable val int getvalue() { return val; } ...