Unicode variable names: Difference between revisions
Content added Content deleted
(→Insitux: inclusion) |
(New post.) |
||
Line 204: | Line 204: | ||
{{out}} |
{{out}} |
||
<pre>2</pre> |
<pre>2</pre> |
||
=={{header|C++}}== |
|||
<syntaxhighlight lang="c++"> |
|||
#include <cstdint> |
|||
#include <iostream> |
|||
#include <string> |
|||
int main() { |
|||
uint32_t Δ = 1; |
|||
double π = 3.14159; |
|||
std::string 你好 = "Hello"; |
|||
Δ++; |
|||
std::cout << Δ << " :: " << π << " :: " << 你好 << std::endl; |
|||
} |
|||
</syntaxhighlight> |
|||
{{ out }} |
|||
<pre> |
|||
2 :: 3.14159 :: Hello |
|||
</pre> |
|||
=={{header|Clojure}}== |
=={{header|Clojure}}== |