putc('q', file); /* assume file is a pointer-to-FILE */
/* Note: I answer you assuming that you know everything
else about files */
you can use inputstream for reading the file java.io.fileinputstream and write the file using outputstream..
When you read a character from a file in C, you will typically use the C standard library function: fgetc (FILE*) This function reads a character from a file that was previously opened for read or read/write access, casts the character to an unsigned integer and then returns that integer. If a character was read, the return value will either be in the range 0 to 127 (a character in the ANSI character set), or -1 to -128 (a character in the extended ASCII character set). However, if no character was read, the function returns the EOF symbol. This symbol is defined in the <stdio.h> header. /* Example: redirect all characters from a file to stdout, one character at a time */ #include <stdio.h> int main (void) { FILE *fp; int c; /* open file for plain text reading */ fp=fopen ("datafile.txt", "r"); /* test for error */ if (fp==NULL) { return -1; } /* read characters until end of file */ while ((c=fgetc (fp)) != EOF) { /* redirect character to stdout */ putchar (c); } /* tidy up */ fclose (fp); fp = NULL; return 0; }
The Character used as the file delimiter for Apple OS is the / (slash)
how do you write $12.00 in a numeric character?
No. DOS allows a max 3 character long file extension.
the person how has to write about the character is either the nararator or the author
underscore
read: moving data from file to memory write: moving data from memory to file
Write to the file, append to the file, and read or change its attributes.
Read, write, execute, and functions in software objects.
Oh this is easy =PLets say or file is "file.txt"
How do you erite fct file