Click here to Skip to main content
15,897,273 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalloading registry file programatically Pin
act_x29-Feb-08 15:22
act_x29-Feb-08 15:22 
QuestionRe: loading registry file programatically Pin
David Crow29-Feb-08 17:07
David Crow29-Feb-08 17:07 
GeneralRe: loading registry file programatically Pin
act_x1-Mar-08 2:57
act_x1-Mar-08 2:57 
GeneralRe: loading registry file programatically Pin
act_x1-Mar-08 3:31
act_x1-Mar-08 3:31 
GeneralRe: loading registry file programatically Pin
Michael Schubert29-Feb-08 21:20
Michael Schubert29-Feb-08 21:20 
GeneralGetting row from a Text file Pin
msogun29-Feb-08 15:16
msogun29-Feb-08 15:16 
GeneralRe: Getting row from a Text file Pin
David Crow29-Feb-08 16:57
David Crow29-Feb-08 16:57 
GeneralRe: Getting row from a Text file Pin
John R. Shaw1-Mar-08 6:44
John R. Shaw1-Mar-08 6:44 
Instead of reading each row, as you are doing now, and just sending it to the standard output (display), copy them to memory as well, so you can read them latter. The easest way to do that would be to declare a std::vector<std:string>, and just call push_back(s) to add them to it. Then you can read all the lines you want, from memmory, by simply using indexes: myVec[i].

I hope that points you in the right direction. Smile | :)

INTP
"Program testing can be used to show the presence of bugs, but never to show their absence."Edsger Dijkstra

GeneralRe: Getting row from a Text file Pin
msogun1-Mar-08 10:30
msogun1-Mar-08 10:30 
GeneralActivate Process on Remote Machine Pin
Bram van Kampen29-Feb-08 12:25
Bram van Kampen29-Feb-08 12:25 
GeneralRe: Activate Process on Remote Machine Pin
Gary R. Wheeler1-Mar-08 1:44
Gary R. Wheeler1-Mar-08 1:44 
GeneralRegistry Pin
Bram van Kampen29-Feb-08 12:14
Bram van Kampen29-Feb-08 12:14 
GeneralRe: Registry Pin
Gary R. Wheeler1-Mar-08 1:54
Gary R. Wheeler1-Mar-08 1:54 
GeneralRe: Registry Pin
Bram van Kampen6-Mar-08 13:44
Bram van Kampen6-Mar-08 13:44 
GeneralRe: Registry Pin
Gary R. Wheeler7-Mar-08 7:35
Gary R. Wheeler7-Mar-08 7:35 
GeneralRe: Registry Pin
Bram van Kampen7-Mar-08 15:10
Bram van Kampen7-Mar-08 15:10 
GeneralRe: Registry Pin
Gary R. Wheeler8-Mar-08 0:14
Gary R. Wheeler8-Mar-08 0:14 
GeneralRe: Registry Pin
Bram van Kampen8-Mar-08 10:14
Bram van Kampen8-Mar-08 10:14 
Generalneed a good method for popping between dialogs [modified] Pin
littleGreenDude29-Feb-08 9:47
littleGreenDude29-Feb-08 9:47 
GeneralRe: need a good method for popping between dialogs Pin
led mike29-Feb-08 11:16
led mike29-Feb-08 11:16 
GeneralRe: need a good method for popping between dialogs Pin
littleGreenDude3-Mar-08 3:19
littleGreenDude3-Mar-08 3:19 
GeneralRe: need a good method for popping between dialogs Pin
littleGreenDude3-Mar-08 4:20
littleGreenDude3-Mar-08 4:20 
GeneralRe: need a good method for popping between dialogs Pin
led mike3-Mar-08 7:26
led mike3-Mar-08 7:26 
GeneralRe: need a good method for popping between dialogs Pin
littleGreenDude3-Mar-08 8:45
littleGreenDude3-Mar-08 8:45 
GeneralRe: need a good method for popping between dialogs Pin
led mike3-Mar-08 9:49
led mike3-Mar-08 9:49 

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.