765.cpp: In function ‘void cube(my_cls&)’: 765.cpp:8: error: ‘pow’ was not declared in this scope 765.cpp:9: error: expected `;' before ‘cout’ 765.cpp: In function ‘int main()’: 765.cpp:12: error: expected unqualified-id before ‘.’ token 765.cpp:13: error: ‘ob’ was not declared in this scope 765.cpp:14: error: ‘cout’ was not declared in this scope 765.cpp:14: error: ‘endl’ was not declared in this scope 765.cpp: At global scope: 765.cpp:38: error: ‘void mycls::main()’ cannot be overloaded 765.cpp:25: error: with ‘int mycls::main()’ 765.cpp:49: error: expected `)' before ‘;’ token 765.cpp:49: error: expected ‘;’ before ‘)’ token 765.cpp:50: error: expected `;' before ‘void’ 765.cpp:56: error: expected unqualified-id before ‘>’ token 765.cpp:86: error: expected `}' at end of input 765.cpp:86: error: expected unqualified-id at end of input 765.cpp:86: error: expected `}' at end of input 765.cpp: In member function ‘void mycls::main()’: 765.cpp:40: error: conversion from ‘int’ to non-scalar type ‘mycls::MyCLs’ requested 765.cpp:40: error: conversion from ‘int’ to non-scalar type ‘mycls::MyCLs’ requested 765.cpp:40: error: conversion from ‘int’ to non-scalar type ‘mycls::MyCLs’ requested 765.cpp:40: error: conversion from ‘int’ to non-scalar type ‘mycls::MyCLs’ requested 765.cpp:40: error: conversion from ‘int’ to non-scalar type ‘mycls::MyCLs’ requested 765.cpp:40: error: conversion from ‘int’ to non-scalar type ‘mycls::MyCLs’ requested 765.cpp:40: error: conversion from ‘int’ to non-scalar type ‘mycls::MyCLs’ requested 765.cpp:40: error: conversion from ‘int’ to non-scalar type ‘mycls::MyCLs’ requested 765.cpp:40: error: conversion from ‘int’ to non-scalar type ‘mycls::MyCLs’ requested 765.cpp:40: error: conversion from ‘int’ to non-scalar type ‘mycls::MyCLs’ requested 765.cpp:42: error: ‘cout’ was not declared in this scope 765.cpp:44: error: no match for ‘operator=’ in ‘*(((mycls::MyCLs*)(((unsigned int)i) * 4u)) + obPtr) = i’ 765.cpp:32: note: candidates are: mycls::MyCLs& mycls::MyCLs::operator=(const mycls::MyCLs&) 765.cpp:45: error: ‘cout’ was not declared in this scope 765.cpp:45: error: ‘OBPTR’ was not declared in this scope 765.cpp:45: error: ‘I’ was not declared in this scope 765.cpp: In member function ‘void mycls::MyCls::show()’: 765.cpp:51: error: ‘cout’ was not declared in this scope 765.cpp:51: error: ‘endl’ was not declared in this scope 765.cpp: In member function ‘void mycls::YourCls::show()’: 765.cpp:56: error: ‘cout’ was not declared in this scope 765.cpp:56: error: ‘B’ was not declared in this scope 765.cpp:56: error: cannot call member function ‘int mycls::main()’ without object 765.cpp:56: error: expected `;' before ‘void’ 765.cpp: At global scope: 765.cpp:56: error: expected unqualified-id at end of input