Skip to content

Commit 350e133

Browse files
committed
Add documentation
1 parent 97e8200 commit 350e133

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,8 @@ public:
358358
auto message = co_await get_message();
359359
auto length = co_await get_size(message);
360360

361-
println("length : {}", length);
361+
println("message : {}", message);
362+
println("length : {}", length);
362363
println("[main, thread {}] -> end", thread::current_thread().managed_thread_id());
363364
}
364365

@@ -398,7 +399,8 @@ xtdc run
398399

399400
```
400401
[main], thread 1] -> start
401-
length : 13
402+
message : Hello, World!
403+
length : 13
402404
[main, thread 3] -> end
403405
```
404406

examples/xtd.core.examples/hello_worlds/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
[This folder](.) contains xtd.core "Hello, World!" examples used by [Reference Guide](https://gammasoft71.github.io/xtd/reference_guides/latest/) and more.
44

55
* [hello_world_console](hello_world_console/README.md) The classic first application "Hello, World!" with [xtd::console](https://gammasoft71.github.io/xtd/reference_guides/latest/classxtd_1_1console.html) class.
6+
* [hello_world_coroutine](hello_world_coroutine/README.md) The classic first application "Hello, World!" with coroutine and [task](https://gammasoft71.github.io/xtd/reference_guides/latest/classxtd_1_1threading_1_1tasks_1_1task_3_01void_01_4.html).
67
* [hello_world_diagnostics](hello_world_diagnostics/README.md) The classic first application "Hello, World!" with [xtd::diagnostics::trace](https://gammasoft71.github.io/xtd/reference_guides/latest/classxtd_1_1diagnostics_1_1trace.html) class.
78
* [hello_world_environment](hello_world_environment/README.md) The classic first application "Hello, World!" with [xtd::environment](https://gammasoft71.github.io/xtd/reference_guides/latest/classxtd_1_1environment.html) class.
89
* [hello_world_io](hello_world_io/README.md) The classic first application "Hello, World!" with [xtd::io::file](https://gammasoft71.github.io/xtd/reference_guides/latest/classxtd_1_1io_1_1file.html) and [xtd::io::path](https://gammasoft71.github.io/xtd/reference_guides/latest/classxtd_1_1io_1_1path.html) classes.

0 commit comments

Comments
 (0)