We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
std::cout
1 parent 50a0f90 commit 26cb281Copy full SHA for 26cb281
examples/interop/cpp/hello_world.carbon
@@ -5,8 +5,8 @@
5
import Cpp inline "#include <cstdio>";
6
7
fn Run() {
8
- // TODO: Requires operator <<, declaration type Var (cout) and class with
9
- // virtual bases (basic_ostream).
+ // TODO: Requires member operator << and class with virtual bases
+ // (basic_ostream).
10
// Cpp.std.cout << "Hello world!\n";
11
12
// TODO: Requires variadic function.
@@ -20,7 +20,7 @@ fn Run() {
20
21
// TODO: Requires Core.String API.
22
// let message: str = "Hello world!\n\n";
23
- // for (c: Core.Char in msg) {
+ // for (c: Core.Char in message) {
24
// Cpp.putchar((c as u8) as i32);
25
// }
26
0 commit comments