SteveBrett
Programmer
Can this be done ?
I need to create some files and want functions to create a header and footer and main body.
I was thinking of creating a filestream (ostream) and then some functions that i could include.
however when i pass the address of the filestream it won't build. i've tried passing the address or the stream and also changing the param to an int and it worked. it just won't work with a file.
any ideas ? this is unmanaged c++ code, a win 32 app with ATL support. i'm a bit knew to the c++ stuff (have done loads of c#) so bear with me ...
TIA
Steve
I need to create some files and want functions to create a header and footer and main body.
I was thinking of creating a filestream (ostream) and then some functions that i could include.
however when i pass the address of the filestream it won't build. i've tried passing the address or the stream and also changing the param to an int and it worked. it just won't work with a file.
any ideas ? this is unmanaged c++ code, a win 32 app with ATL support. i'm a bit knew to the c++ stuff (have done loads of c#) so bear with me ...
TIA
Steve