tags:

views:

46

answers:

2

how do i create and save a data file in a folder of my choice in C++ program?

+1  A: 

See this for an example of what you are asking: Input/Output with files

casablanca
A: 

This should help guide you in the right direction. http://www.codersource.net/c/c-tutorial-on-file-operations/c-file-i-o.aspx

cmptrer
That page uses outdated (pre-standard) ways of doing stuff, and is not very exhaustive regarding the important basics. So I would not recommend it. The cplusplus.com page that @casablanca posted looks better.
Lajnold