I'm starting to learn C++20, my first compilable language...
import <iostream>;
int main()
{
int answer {42};
std::cout << "The answer is "
<< answer
<< std::endl;
return 0;
}
When I try to compile the file above, I get an error message due to the compiler not recognizing the statement import <iostream>;
, even though I have the newest version of GCC compiler for Ubuntu 20.04.4 LTS.