summaryrefslogtreecommitdiff
path: root/stories/poetry/MeinVortrag/11.html
blob: 72c2ba5048c8f77d81382de9486d56f461bafe95 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<HTML><HEAD></HEAD><BODY><H1><PRE>
<A HREF="10.html">&lt;-</A><A HREF="12.html">-></A>
int main( int argc, char **argv ) {
    char buffer[ 256 ];

/* !!!FALSCH!!! */
#if 0
    snprintf( buffer, sizeof buffer, argv[1] );
#endif 

/* !!!RICHTIG!!! */
#if 1
    snprintf( buffer, sizeof buffer, "%s", argv[1] );
#endif

    return 0;
}  
</PRE></H1></BODY></HTML>