Re: #include <fstream> using Dev C++// how to specify a file locatio
by "sirclif" <cdclark@[EMAIL PROTECTED]
>
Oct 20, 2004 at 03:23 PM
there are two ways:
1. give out_stream the absolute pathname;
out_stream.open("c:\Do***ents and Settings\username\My
Do***ents\outfile.dat");
2. give out_stream the relative pathname;
out_stream.open("..\outfile.dat");
this creates the file in the directory above the directory the
program is excecuting form
im not exactly sure on the windows file nameing, but that is how it would
work in linus