Skip to content

Commit 150042a

Browse files
committed
refine
1 parent 9adc963 commit 150042a

1 file changed

Lines changed: 9 additions & 8 deletions

File tree

src/coding/cpp/01 fundamental_types.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -421,14 +421,15 @@ k = 5; // <ColorSpan data="COMPILER ERROR: k is const!" color="red"/
421421
</template>
422422
<template v-slot:toggle>
423423
<pre>
424-
auto i = 2; int
425-
auto u = 56u; unsigned int
426-
auto d = 2.023; double
427-
auto f = 4.01f; float
428-
auto l = -78787879797878l; long int
429-
auto x = 0 * i; x: int
430-
auto y = i + d; y: double
431-
auto z = f * d; z: double</pre>
424+
<strong>auto</strong> i = 2; <ColorSpan data="int"/>
425+
<strong>auto</strong> u = 56u; <ColorSpan data="unsigned int"/>
426+
<strong>auto</strong> d = 2.023; <ColorSpan data="double"/>
427+
<strong>auto</strong> f = 4.01f; <ColorSpan data="float"/>
428+
<strong>auto</strong> l = -78787879797878l; <ColorSpan data="long int"/>
429+
<br/>
430+
<strong>auto</strong> x = 0 * i; x: <ColorSpan data="int"/>
431+
<strong>auto</strong> y = i + d; y: <ColorSpan data="double"/>
432+
<strong>auto</strong> z = f * d; z: <ColorSpan data="double"/> </pre>
432433
</template>
433434
</ToggleContent>
434435
</template>

0 commit comments

Comments
 (0)