Debian Codegraph @

src/testdir/samples/Test_tohtml_basic.c.html

raw
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <meta charset="UTF-8">
5 <title>/home/jiangyinzuo/vim/src/testdir/Test_tohtml_basic.c.html</title>
6 <meta name="Generator" content="Vim/9.2">
7 <meta name="plugin-version" content="vim9.0_v2">
8 <meta name="syntax" content="none">
9 <meta name="settings" content="use_css,no_foldcolumn,pre_wrap,prevent_copy=,use_input_for_pc=none">
10 <meta name="colorscheme" content="none">
11 <style>
12 <!--
13 pre { white-space: pre-wrap; font-family: monospace; color: #000000; background-color: #ffffff; }
14 body { font-family: monospace; color: #000000; background-color: #ffffff; }
15 * { font-size: 1em; }
16 a { color: inherit; }
17 -->
18 </style>
19 </head>
20 <body>
21 <pre id='vimCodeElement'>
22 #include &lt;stdio.h&gt;
23 #include &lt;stdlib.h&gt;
24
25 int isprime(int n)
26 {
27 if (n &lt;= 1)
28 return 0;
29
30 for (int i = 2; i &lt;= n / 2; i++)
31 if (n % i == 0)
32 return 0;
33
34 return 1;
35 }
36
37 int main(int argc, char *argv[])
38 {
39 int n = 7;
40
41 printf(&quot;%d is %s prime\n&quot;, n, isprime(n) ? &quot;a&quot; : &quot;not a&quot;);
42
43 return 0;
44 }
45 </pre>
46 </body>
47 </html>
48 <!-- vim: set foldmethod=manual : -->