Click here to Skip to main content
16,005,169 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Compiler Error C1083 Pin
bob169721-Aug-07 6:43
bob169721-Aug-07 6:43 
GeneralRe: Compiler Error C1083 Pin
sanjutvm12-Aug-07 6:03
sanjutvm12-Aug-07 6:03 
AnswerRe: Compiler Error C1083 Pin
Eytukan1-Aug-07 7:02
Eytukan1-Aug-07 7:02 
GeneralRe: Compiler Error C1083 Pin
sanjutvm12-Aug-07 6:06
sanjutvm12-Aug-07 6:06 
QuestionFloating toolbar-Remove taskbar button? Pin
Gunn3171-Aug-07 3:16
Gunn3171-Aug-07 3:16 
AnswerRe: Floating toolbar-Remove taskbar button? Pin
James R. Twine1-Aug-07 4:23
James R. Twine1-Aug-07 4:23 
GeneralRe: Floating toolbar-Remove taskbar button? Pin
Gunn31717-Aug-07 9:28
Gunn31717-Aug-07 9:28 
GeneralSTL Pin
Rage1-Aug-07 3:12
professionalRage1-Aug-07 3:12 
So this does not output any char from the file:

vector <fstream>::iterator vi;
std::vector<fstream>     vFilestreams;

// Here code to create the fstream vector.


for (vi=vFilestreams.begin(); vi!=vFilestreams.end(); vi++)

{

    (*vi).open(vFileList[i].c_str(),ios::in);

}

// Everything fine so far, streams are open, no exception, and is_open returns "good"
// ...

for (j=1;j<=20;j++) 
{

    for (vi=vFilestreams.begin(); vi!=vFilestreams.end(); vi++)
    {    
        *vi>>current_char; // here current_char does not change !
    }
}
Why do I not get anything in current_char ?





GeneralRe: STL Pin
Cyrilix1-Aug-07 5:29
Cyrilix1-Aug-07 5:29 
GeneralRe: STL Pin
Rage1-Aug-07 6:00
professionalRage1-Aug-07 6:00 
GeneralRe: STL Pin
Cyrilix1-Aug-07 6:20
Cyrilix1-Aug-07 6:20 
GeneralRe: STL Pin
Rage1-Aug-07 20:57
professionalRage1-Aug-07 20:57 
GeneralRe: STL Pin
Eytukan1-Aug-07 6:57
Eytukan1-Aug-07 6:57 
GeneralRe: STL Pin
toxcct1-Aug-07 7:20
toxcct1-Aug-07 7:20 
GeneralRe: STL Pin
Eytukan1-Aug-07 7:29
Eytukan1-Aug-07 7:29 
GeneralRe: STL Pin
Rage1-Aug-07 20:53
professionalRage1-Aug-07 20:53 
GeneralRe: STL Pin
Eytukan1-Aug-07 7:23
Eytukan1-Aug-07 7:23 
GeneralRe: STL Pin
Rage1-Aug-07 20:54
professionalRage1-Aug-07 20:54 
QuestionLaunching Paint from different OS Pin
TheDelChop1-Aug-07 2:54
TheDelChop1-Aug-07 2:54 
QuestionRe: Launching Paint from different OS Pin
David Crow1-Aug-07 2:56
David Crow1-Aug-07 2:56 
AnswerRe: Launching Paint from different OS Pin
toxcct1-Aug-07 3:02
toxcct1-Aug-07 3:02 
Answer[Message Deleted] Pin
Jonathan [Darka]1-Aug-07 3:06
professionalJonathan [Darka]1-Aug-07 3:06 
JokeRe: Launching Paint from different OS Pin
toxcct1-Aug-07 3:13
toxcct1-Aug-07 3:13 
GeneralRe: Launching Paint from different OS [modified] Pin
Jonathan [Darka]1-Aug-07 3:51
professionalJonathan [Darka]1-Aug-07 3:51 
GeneralOT Pin
Rage1-Aug-07 6:02
professionalRage1-Aug-07 6:02 

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.