create a text file

hi i am new to programming and i was wondering if it was possible to write a program that will create a text file? i am using Microsoft visual studio
http://www.cplusplus.com/doc/tutorial/files/

see this first example:
This code creates a file called example.txt..
Last edited on
Topic archived. No new replies allowed.