Using the gets() function in the C header stdio.h can cause a variety of unwanted side-effects (including buffer overflows). Instead, use fgets(), and specify stdin as the file pointer.
Author : Sean
Monday, February 23, 2009
Subscribe to:
Post Comments (Atom)
0 nhận xét:
Post a Comment