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.
1 parent 7e36aa9 commit 6f804b7Copy full SHA for 6f804b7
packages/examples/clangd.html
@@ -10,6 +10,7 @@
10
11
<body>
12
<h2>Cpp Language Client & Clangd Language Server (Worker/Wasm)</h2>
13
+ This example has been derived from: <a href="https://github.com/guyutongxue/clangd-in-browser">clangd-in-browser</a><br>
14
<button type="button" id="button-start">Start</button>
15
<button type="button" id="button-dispose">Dispose</button>
16
<div id="monaco-editor-root" style="width:800px;height:600px;border:1px solid grey"></div>
packages/examples/src/clangd/client/hello.cpp
@@ -1,6 +1,9 @@
1
-#include <print>
+#include <iostream>
2
+using namespace std;
3
+
4
#include "tester.h"
5
6
int main() {
- std::println("Hello, {}!", "world");
7
+ cout << "Hello World!";
8
+ return 0;
9
}
0 commit comments