Can someone show me an example of how to use perror? For example,

if((fp=fopen("file","wb"))==NULL
    perror() /* What goes into the char *string parameter */

Bill

Reply via email to