Re: I need HELP!!!
- From: "Nick Keighley" <nick_keighley_nospam@xxxxxxxxxxx>
- Date: 5 Mar 2006 01:40:50 -0800
sjftan@xxxxxxxxx wrote:
i give u some relative function on file operate.
FILE * fp;
char ch;
fp = fopen("url/name","r");//open the file R
ch = fgetc(fp); // get a char from the fp;
fclose(fp); // close the file ;
i hope it can help u.
1. leave context in your post. That is, quote what you are replying to
2. please post in standard english. The last line of your reply should
read "I hope it can help you" or "I hope this helps you".
3. you do not check for errors in your fopen() call
--
Nick Keighley
A ruby trembled. Two tourmaline nets failed to rectify the laser beam.
A diamond noted the error. Both the error and the correction went into
the general computer.
Corwainer Smith "The Dead Lady of Clown Town"
.
- Follow-Ups:
- Re: I need HELP!!!
- From: Walter Roberson
- Re: I need HELP!!!
- From: Keith Thompson
- Re: I need HELP!!!
- References:
- I need HELP!!!
- From: zizo
- Re: I need HELP!!!
- From: sjftan@xxxxxxxxx
- I need HELP!!!
- Prev by Date: Re: displaying 24 bit colours using C
- Next by Date: Re: Proper way to wait for menu command and return?
- Previous by thread: Re: I need HELP!!!
- Next by thread: Re: I need HELP!!!
- Index(es):
Relevant Pages
|
|