#include <iostream> #include <vector> using namespace std; class mashin { public: mashin v1;//error v1 has imcomplete type mashin Zar(int a,int b){return a*b;}; Ja(int a,int b){return a+b;}; };
https://www.ibm.com/support/knowledgecenter/en/SSLTBW_2.4.0/com.ibm.zos.v2r4.cbclx01/cplr060.htm