Main.cc: In function ‘int main()’:
Main.cc:10:10: error: ‘cin’ is not a member of ‘std’
std::cin >> A;
^~~
Main.cc:10:10: note: suggested alternative: ‘sin’
std::cin >> A;
^~~
sin
Main.cc:12:10: error: ‘cin’ is not a member of ‘std’
std::cin >> B;
^~~
Main.cc:12:10: note: suggested alternative: ‘sin’
std::cin >> B;
^~~
sin
Main.cc:14:10: error: ‘cin’ is not a member of ‘std’
std::cin >> X;
^~~
Main.cc:14:10: note: suggested alternative: ‘sin’
std::cin >> X;
^~~
sin
Main.cc:16:10: error: ‘cin’ is not a member of ‘std’
std::cin >> Y;
^~~
Main.cc:16:10: note: suggested alternative: ‘sin’
std::cin >> Y;
^~~
sin
Main.cc:20:10: error: ‘cout’ is not a member of ‘std’
std::cout << "Result: " << result << std::endl;
^~~~
Main.cc:20:10: note: suggested alternative: ‘cbrt’
std::cout << "Result: " << result << std::endl;
^~~~
cbrt
Main.cc:20:47: error: ‘endl’ is not a member of ‘std’
std::cout << "Result: " << result << std::endl;
^~~~
Main.cc: At global scope:
Main.cc:25:1: error: expected unqualified-id before ‘return’
return 0;
^~~~~~
Main.cc:26:1: error: expected declaration before ‘}’ token
}
^