Mega Code Archive
Search
.Net
ASP .Net
ASP .Net Tutorial
C#
C# Book
C# by API
C# Tutorial
VB.Net
VB.Net by API
VB.Net Tutorial
Visual C++ .Net
VisualBasic Script
Java
Java
Java Book
Java by API
Java Tutorial
Script
Flash ActionScript
Flex
JavaScript DHTML
JavaScript Reference
JavaScript Tutorial
Database
MSSQL
MSSQL Tutorial
MySQL
MySQL Tutorial
Oracle PLSQL
Oracle PLSQL Tutorial
PostgreSQL
Languages
Android
C
C Tutorial
C++
C++ Tutorial
Delphi
Perl
PHP
Python
Python Tutorial
Ruby
Silverlight
Office
MSOfficeExcel 2007 Tutorial
MSOfficePowerPoint 2007 Tutorial
MSOfficeWord 2007 Tutorial
Data
XML
XML Tutorial
C
File 75 codes
Home
C
File
1 A prime example using binary files
2 Change stream buffering
3 Check for errors
4 Check if End Of File has been reached
5 Close a stream
6 Compare files
7 Copy a file
8 Copy a file in reverse order
9 Copy one file to another
10 Count the number of characters in a file
11 Create a file, write content and read the content
12 Create temp file name
13 Delete a file
14 Delete file
15 Delete file 2
16 Encryption-Decryption
17 File content seek
18 File Encryption Program in C
19 Fprintf demo
20 Fscanf() - fprintf() example
21 Generate a unique temporary filename
22 Get a string from a stream
23 Get file name from command line and open the file
24 Get string from file
25 Get the next character
26 Get the next character from a stream
27 Get the next int value from a stream
28 Menu Driven File Attribute Changing Utility
29 Messing about with formatted file IO
30 Open a file
31 Open a file and close it
32 Open a file and read its content using fgetc
33 Open a file for read
34 Open a temporary file
35 Program to write even and odd integers into different files
36 Read and check if the file end has been reached
37 Read and write array into file
38 Read formatted data from a stream
39 Reading strings from a file in reverse order
40 Reads files and displays them on the screen
41 Redirect the printf to file
42 Rename a file
43 Rename a file or directory
44 Reopen a file
45 Reopen a stream with a different file and mode
46 Reposition file pointer to a saved location
47 Reposition streams pointer indicator
48 Reset file position indicator to start of the file
49 Reset the file reader pointer
50 Return the current position in a stream
51 Save and read string into a file
52 Save and write different type of value into file
53 Save string into file
54 Save text content into a file
55 Search a set of numbers
56 Search specified file for specified character
57 Seek a byte in file
58 Seek array element in a file
59 Set the file pointer to the beginning of a stream
60 Substitutes spaces for tabs in a text file and supplies error checking
61 Use fprintf and fscanf to save and read file
62 Use fprintf to save
63 Use fwrite and fread to save and read
64 Viewing the contents of a file
65 Write a block of data to a stream
66 Write and read the entire array in one step
67 Write character to stdout
68 Write character to stream
69 Write non string content
70 Write out file
71 Write some non-character data to a disk file and read it back
72 Write string to a stream
73 Writing a file a character at a time
74 Writing names and phone numbers to a file
75 Writing strings to a file