#include #include #include class conv { private: float Marmor[2]; float Sten[2]; float Tra[2]; float ipsos; float mikos; float platos; int choice; public: void my_init() { Marmor[0]=2.7; Marmor[1]=20; Sten[0]=2.6; Sten[1]=15; Tra[0]=0.6; Tra[1]=7; } void my_get() { cout<<"Blockkalkylatorn "<>ipsos; cout<>mikos; cout<>platos; cout<>choice; cout< header for the header for C++ includes, or instead of the deprecated header . To disable this warning use -Wno-deprecated. 10 C:\Documents and Settings\George\Desktop\ergasia.cpp stray '\228' in program 11 C:\Documents and Settings\George\Desktop\ergasia.cpp stray '\246' in program 11 C:\Documents and Settings\George\Desktop\ergasia.cpp `h' does not name a type 12 C:\Documents and Settings\George\Desktop\ergasia.cpp stray '\228' in program 12 C:\Documents and Settings\George\Desktop\ergasia.cpp `l' does not name a type 22 C:\Documents and Settings\George\Desktop\ergasia.cpp stray '\228' in program 23 C:\Documents and Settings\George\Desktop\ergasia.cpp stray '\228' in program 30 C:\Documents and Settings\George\Desktop\ergasia.cpp stray '\246' in program 33 C:\Documents and Settings\George\Desktop\ergasia.cpp stray '\228' in program 48 C:\Documents and Settings\George\Desktop\ergasia.cpp ISO C++ forbids declaration of `my_results' with no type 50 C:\Documents and Settings\George\Desktop\ergasia.cpp missing terminating " character 51 C:\Documents and Settings\George\Desktop\ergasia.cpp missing terminating " character 53 C:\Documents and Settings\George\Desktop\ergasia.cpp stray '\228' in program 53 C:\Documents and Settings\George\Desktop\ergasia.cpp stray '\246' in program 55 C:\Documents and Settings\George\Desktop\ergasia.cpp missing terminating " character 56 C:\Documents and Settings\George\Desktop\ergasia.cpp missing terminating " character 58 C:\Documents and Settings\George\Desktop\ergasia.cpp missing terminating " character 59 C:\Documents and Settings\George\Desktop\ergasia.cpp missing terminating " character 61 C:\Documents and Settings\George\Desktop\ergasia.cpp stray '\228' in program 61 C:\Documents and Settings\George\Desktop\ergasia.cpp missing terminating " character 62 C:\Documents and Settings\George\Desktop\ergasia.cpp missing terminating " character C:\Documents and Settings\George\Desktop\ergasia.cpp In member function `void conv::my_get()': 30 C:\Documents and Settings\George\Desktop\ergasia.cpp `h' undeclared (first use this function) (Each undeclared identifier is reported only once for each function it appears in.) 30 C:\Documents and Settings\George\Desktop\ergasia.cpp expected `;' before "jd" 33 C:\Documents and Settings\George\Desktop\ergasia.cpp `l' undeclared (first use this function) 33 C:\Documents and Settings\George\Desktop\ergasia.cpp expected `;' before "ngd" C:\Documents and Settings\George\Desktop\ergasia.cpp In member function `int conv::my_results()': 51 C:\Documents and Settings\George\Desktop\ergasia.cpp `kr' undeclared (first use this function) 51 C:\Documents and Settings\George\Desktop\ergasia.cpp `Pris' undeclared (first use this function) 52 C:\Documents and Settings\George\Desktop\ergasia.cpp expected `;' before "cout" 53 C:\Documents and Settings\George\Desktop\ergasia.cpp `l' undeclared (first use this function) 53 C:\Documents and Settings\George\Desktop\ergasia.cpp expected `;' before "ngd" 57 C:\Documents and Settings\George\Desktop\ergasia.cpp expected primary-expression before "if" 57 C:\Documents and Settings\George\Desktop\ergasia.cpp expected `;' before "if"