Skip to content

Commit f559d75

Browse files
committed
update minimal example to use modern c++
1 parent 9cdb5f1 commit f559d75

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,10 @@ IncludeOS can currently not be built on macOS or Windows.
4949
A minimal IncludeOS "hello world" looks like a regular C++ program:
5050

5151
```c++
52-
#include <iostream>
52+
#include <os>
5353

5454
int main(){
55-
std::cout << "Hello world\n";
55+
std::println("Hello world");
5656
}
5757
```
5858

0 commit comments

Comments
 (0)