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

C / C++ / MFC

 
GeneralRe: how to set text in different fonts in defferent lines of static text control Pin
Iain Clarke, Warrior Programmer19-Jun-07 0:16
Iain Clarke, Warrior Programmer19-Jun-07 0:16 
GeneralRe: how to set text in different fonts in defferent lines of static text control Pin
Hamid_RT19-Jun-07 0:45
Hamid_RT19-Jun-07 0:45 
Questionread data from text file, extract and display in excel format Pin
mrr218-Jun-07 22:47
mrr218-Jun-07 22:47 
AnswerRe: read data from text file, extract and display in excel format [modified] Pin
Rage18-Jun-07 23:37
professionalRage18-Jun-07 23:37 
GeneralRe: read data from text file, extract and display in excel format Pin
Iain Clarke, Warrior Programmer19-Jun-07 0:20
Iain Clarke, Warrior Programmer19-Jun-07 0:20 
GeneralRe: read data from text file, extract and display in excel format Pin
Rage19-Jun-07 0:23
professionalRage19-Jun-07 0:23 
AnswerRe: read data from text file, extract and display in excel format Pin
Iain Clarke, Warrior Programmer19-Jun-07 0:28
Iain Clarke, Warrior Programmer19-Jun-07 0:28 
AnswerRe: read data from text file, extract and display in excel format Pin
David Crow19-Jun-07 4:00
David Crow19-Jun-07 4:00 
mrr2 wrote:
or at least somebody pls guide me to figure out ways to create the program.


Create a class that represents one of the lines:

class Line
{
public:
    Line() {}
    ~Line() {}
 
    // setter methods here
 
    // getter methods here
 
private:
    std::string TY_RECORD;
    std::string ID_PARTICIPANT;
    std::string DT_START;
    std::string DT_END;
};
Then use the std::copy() function to read each line of the file into a vector of Line objects.




"A good athlete is the result of a good and worthy opponent." - David Crow

"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne


QuestionWizard Style Dialogs Pin
Abhijeet Pathak18-Jun-07 22:39
Abhijeet Pathak18-Jun-07 22:39 
AnswerRe: Wizard Style Dialogs Pin
_AnsHUMAN_ 18-Jun-07 22:43
_AnsHUMAN_ 18-Jun-07 22:43 
GeneralRe: Wizard Style Dialogs Pin
Abhijeet Pathak18-Jun-07 22:49
Abhijeet Pathak18-Jun-07 22:49 
GeneralRe: Wizard Style Dialogs Pin
_AnsHUMAN_ 18-Jun-07 22:55
_AnsHUMAN_ 18-Jun-07 22:55 
GeneralRe: Wizard Style Dialogs Pin
Abhijeet Pathak18-Jun-07 23:06
Abhijeet Pathak18-Jun-07 23:06 
AnswerRe: Wizard Style Dialogs Pin
Iain Clarke, Warrior Programmer19-Jun-07 0:37
Iain Clarke, Warrior Programmer19-Jun-07 0:37 
GeneralRe: Wizard Style Dialogs Pin
Abhijeet Pathak19-Jun-07 1:27
Abhijeet Pathak19-Jun-07 1:27 
GeneralRe: Wizard Style Dialogs Pin
Roger Stoltz19-Jun-07 2:56
Roger Stoltz19-Jun-07 2:56 
QuestionRemove item from a vector? Pin
bosfan18-Jun-07 21:27
bosfan18-Jun-07 21:27 
AnswerRe: Remove item from a vector? Pin
RChin18-Jun-07 21:36
RChin18-Jun-07 21:36 
AnswerRe: Remove item from a vector? Pin
Cedric Moonen18-Jun-07 22:44
Cedric Moonen18-Jun-07 22:44 
QuestionA quiz here C or C++ Pin
C_Zealot18-Jun-07 20:56
C_Zealot18-Jun-07 20:56 
AnswerRe: A quiz here C or C++ Pin
BadKarma18-Jun-07 21:34
BadKarma18-Jun-07 21:34 
AnswerRe: A quiz here C or C++ Pin
RChin18-Jun-07 21:38
RChin18-Jun-07 21:38 
AnswerRe: A quiz here C or C++ Pin
Matthew Faithfull18-Jun-07 22:02
Matthew Faithfull18-Jun-07 22:02 
GeneralRe: A quiz here C or C++ [modified] Pin
BadKarma18-Jun-07 22:05
BadKarma18-Jun-07 22:05 
GeneralRe: A quiz here C or C++ Pin
Matthew Faithfull19-Jun-07 3:52
Matthew Faithfull19-Jun-07 3:52 

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.