C++ソースの更新
This commit is contained in:
parent
8802b4fa27
commit
ab1e6707e2
10
src/cpp/hello.cpp
Normal file
10
src/cpp/hello.cpp
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
// hello.cpp
|
||||||
|
// Hello world program in C++
|
||||||
|
// command: g++ src/cpp/hello.cpp -o dist/hello
|
||||||
|
// run: ./dist/hello
|
||||||
|
#include <iostream>
|
||||||
|
|
||||||
|
int main() {
|
||||||
|
std::cout << "Hello, world!" << std::endl;
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user