|
From: Thomas J. <th...@zi...> - 2001-06-21 11:40:34
|
At 11:38 21-6-2001 +0200, you wrote: > Hmm I am not shure if it is the answer to that what I need. I don't want >to prompt the user for file operations, I like to save some >programminternal values to a file. For varialbes like: >int i = 0; >String valueID = "X"; I wanna get a Textfile that contain: >X = 0 By using something like: >fprintf ( fileID, "%c = %d", valueID, i ); "WriteFile()" work the same fopen, fprintf normally work under windows otherwise use wsprintf to format a string and write to file using WriteFile. Thomas |