Click here to Skip to main content
15,898,222 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionnon XP visual style when using chtmlview in VC6/VC7 ?? Pin
karmafx10-Mar-04 7:42
karmafx10-Mar-04 7:42 
AnswerRe: non XP visual style when using chtmlview in VC6/VC7 ?? Pin
Neville Franks10-Mar-04 10:39
Neville Franks10-Mar-04 10:39 
AnswerRe: non XP visual style when using chtmlview in VC6/VC7 ?? Pin
karmafx10-Mar-04 10:46
karmafx10-Mar-04 10:46 
GeneralRe: non XP visual style when using chtmlview in VC6/VC7 ?? Pin
Neville Franks10-Mar-04 12:33
Neville Franks10-Mar-04 12:33 
GeneralRe: non XP visual style when using chtmlview in VC6/VC7 ?? Pin
karmafx10-Mar-04 21:45
karmafx10-Mar-04 21:45 
GeneralCHange Gradient Colors in WIndow Caption Pin
doctorpi10-Mar-04 7:13
doctorpi10-Mar-04 7:13 
GeneralRe: CHange Gradient Colors in WIndow Caption Pin
Robert A. T. Káldy11-Mar-04 1:34
Robert A. T. Káldy11-Mar-04 1:34 
GeneralFileWriting -> Arrays Pin
nsaddock10-Mar-04 6:02
nsaddock10-Mar-04 6:02 
Greetings:

First time (and most definetly not the last time) posting. I did spend about fifteen minutes trying to find a discussion about this with no luck so here it is:

New to Programming and am using Visual Studio's C++ and Deitel's 'how to program C++ .NET' to learn. I have come to a cross roads, here is my dilema:

I am trying to write a 2D int __gc array[,] to a .txt file. The context is that I have written a simulation (for Diffusion) and need to save the simulation save every nth time steps to a text file (n = 1 == file0001.txt). I have tried multiple techniques with no success, I am not sure if it is best to write a class specifically for saving 2D arrays (where I pass the filename and a pointer to the array), if I need to convert the int array to a string before saving. Like everyone I am under a time line otherwise I would continue to systemattically try new approaches until I was successful. File access has been completely new, with in the last week so even simple calls like how to open and close the file would be appreciated. I am unsure on File::Open or FileMode::OpenOrCreate, FileAcess::Write?? and when to use Serializable versus BinaryFormatter. I hope this is enough information to show my level of competence and issue without over embellishing.



Many thanks
Nick
naddock@hotmail.com
GeneralRe: FileWriting -> Arrays Pin
David Crow10-Mar-04 10:06
David Crow10-Mar-04 10:06 
Generalclass std::basic_ofstream errors Pin
Andrew Hoole10-Mar-04 5:19
Andrew Hoole10-Mar-04 5:19 
GeneralRe: class std::basic_ofstream errors Pin
Neville Franks10-Mar-04 10:43
Neville Franks10-Mar-04 10:43 
GeneralRe: class std::basic_ofstream errors Pin
Andrew Hoole10-Mar-04 22:20
Andrew Hoole10-Mar-04 22:20 
GeneralCalling ReadDirectoryChangesW from DLL causes error Pin
Deian10-Mar-04 5:11
Deian10-Mar-04 5:11 
GeneralRe: Calling ReadDirectoryChangesW from DLL causes error Pin
Ravi Bhavnani10-Mar-04 6:17
professionalRavi Bhavnani10-Mar-04 6:17 
GeneralRe: Calling ReadDirectoryChangesW from DLL causes error Pin
Deian10-Mar-04 6:42
Deian10-Mar-04 6:42 
GeneralRe: Calling ReadDirectoryChangesW from DLL causes error Pin
Ravi Bhavnani10-Mar-04 7:11
professionalRavi Bhavnani10-Mar-04 7:11 
GeneralRe: Calling ReadDirectoryChangesW from DLL causes error Pin
Nemanja Trifunovic10-Mar-04 7:22
Nemanja Trifunovic10-Mar-04 7:22 
GeneralRe: Calling ReadDirectoryChangesW from DLL causes error Pin
Joel Lucsy10-Mar-04 7:17
Joel Lucsy10-Mar-04 7:17 
GeneralRe: Calling ReadDirectoryChangesW from DLL causes error Pin
Nemanja Trifunovic10-Mar-04 7:24
Nemanja Trifunovic10-Mar-04 7:24 
GeneralRe: Calling ReadDirectoryChangesW from DLL causes error Pin
Ravi Bhavnani10-Mar-04 7:27
professionalRavi Bhavnani10-Mar-04 7:27 
GeneralRe: Calling ReadDirectoryChangesW from DLL causes error Pin
Deian10-Mar-04 7:45
Deian10-Mar-04 7:45 
GeneralThe answer :) Pin
Deian10-Mar-04 8:01
Deian10-Mar-04 8:01 
GeneralError at compiling virtual function call in constructor Pin
vgrigor10-Mar-04 4:21
vgrigor10-Mar-04 4:21 
GeneralRe: Error at compiling virtual function call in constructor Pin
toxcct10-Mar-04 4:25
toxcct10-Mar-04 4:25 
GeneralRe: Error at compiling virtual function call in constructor Pin
Tomasz Sowinski10-Mar-04 4:45
Tomasz Sowinski10-Mar-04 4:45 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.