read_file problem
if theres an empty line in the end of file, read_file will read it as the previous line, why is that?
|
Re: read_file problem
Use feof/fgets, they work better.
|
Re: read_file problem
read_file() is an old function and is not efficient. Use fopen(), feof(), and fgets().
|
| All times are GMT -4. The time now is 06:18. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.