|
|
using namespace std;std:: in the places it is needed. (e.g. std::ostream)strlen() ).
|
|
echo && echo && g++ -std=c++17 -O3 -Wall -Wextra -pedantic-errors main.cpp && ./a.out echo && echo =========== && echo && clang++ -std=c++17 -stdlib=libc++ -O3 -Wall -Wextra -pedantic-errors main.cpp -lsupc++ && ./a.out Hello world! =========== Hello world! |
|
|