c program to create notepad

Creating notepad in c

How to create notepad using c

Program:-


Note:-

This program create a note pad in D drive
file_name is the note pad name
fp=fopen("e:\\text.txt","a");

# a is used to write at end of file
# a+ is used for both write at end of file  and read
# w is used write into file, it will erase old data, if file is not present it will create a file
# w+ is used for both writing and reading into file, it will erase old data,  if file is not present it will create a file
# r is used to read file
# r is used for both write and read.if file is not present it will show error.


See Also


c program for reading notepad

c program to write data into notepad

c program for writing notepad at end of file

c program for copy string from one notepad to another notepad


Leave reply

Add your comments here

Back to Top