add sample hello_main.cc
This commit is contained in:
7
single_file_tests/hello_main.cc
Normal file
7
single_file_tests/hello_main.cc
Normal 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;
|
||||||
|
}
|
||||||
|
|
||||||
Reference in New Issue
Block a user