Object-Oriented Programming in C++

Code display of PL9/myclass.cpp

// PL9/myclass.cpp
// implementation file for class definition
// Niels Walet, Last modified 03/12/2019
#include<iostream>
#include "myclass.h"
using namespace namespace1;
void my_class::show()
{
  std::cout<<"x="<<x<<std::endl;
}
Download here; To copy and paste: double click inside code, then copy.