Content deleted Content added
Line 33:
</source>
The ''strcat'' function looks innocious enough, and it is, as long as you don't call it
So lets examine an example of how __not__ to use strcat:
<source lang="c">
▲ // produces a 1Meg string of "word, word, word, ....";
final int BUFFER_SIZE = 1024*1024;
char word[] = "word";
|