add sample hello_main.cc

This commit is contained in:
2020-05-30 19:45:28 +08:00
parent 7c23233221
commit 9c1780bd5b

View File

@@ -0,0 +1,7 @@
#include <iostream>
// compile: c++ --std=c++17 hello_main.cc
auto main(int argc, char** argv) -> int {
std::cout << "hello, have: " << argc << " args" << std::endl;
}