how to write a code for the read file in .txt?

i need some help..
how to write the C++ code to write the file i have save it in .txt file?
there any type i can write the code?
if i use a function, can all of you help or guide me to write it?

thank you so much.....


like my school 100%
and 5^&8())@


the file i want to read i make it in italics....

please help me...
Are you saying that you want to create a program that outputs the source code of itself into a .txt file?
Topic archived. No new replies allowed.