More issues:
FILE *fp;
fp=fopen(argv[1],"r");
You never checked to see if fp is NULL. What if that file doesn't exist?
Regards,
CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
Search:Type: Posts; User: Paul McKenzie Search: Search took 0.13 seconds.
Results 1 to 4 of 4
|
Click Here to Expand Forum to Full Width |