Click here to Skip to main content
15,908,673 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Why can't it show a whole bitmap in listctrl in icon form Pin
Chen-XuNuo20-Jun-07 3:25
Chen-XuNuo20-Jun-07 3:25 
GeneralRe: Why can't it show a whole bitmap in listctrl in icon form Pin
James R. Twine20-Jun-07 4:55
James R. Twine20-Jun-07 4:55 
GeneralRe: Why can't it show a whole bitmap in listctrl in icon form Pin
Chen-XuNuo20-Jun-07 21:02
Chen-XuNuo20-Jun-07 21:02 
GeneralRe: Why can't it show a whole bitmap in listctrl in icon form Pin
James R. Twine21-Jun-07 1:45
James R. Twine21-Jun-07 1:45 
GeneralRe: Why can't it show a whole bitmap in listctrl in icon form Pin
Chen-XuNuo21-Jun-07 16:37
Chen-XuNuo21-Jun-07 16:37 
GeneralRe: Why can't it show a whole bitmap in listctrl in icon form Pin
Mark Salsbery19-Jun-07 6:50
Mark Salsbery19-Jun-07 6:50 
GeneralRe: Why can't it show a whole bitmap in listctrl in icon form Pin
James R. Twine19-Jun-07 7:01
James R. Twine19-Jun-07 7:01 
GeneralRe: Why can't it show a whole bitmap in listctrl in icon form Pin
Mark Salsbery19-Jun-07 7:56
Mark Salsbery19-Jun-07 7:56 
QuestionZoom in PRSDK (Canon SDSK supporting Power shot A640) Pin
Johnbrithol18-Jun-07 23:15
Johnbrithol18-Jun-07 23:15 
QuestionHow to resize CEdit dynamically? Pin
Soleil couchant18-Jun-07 23:06
Soleil couchant18-Jun-07 23:06 
AnswerRe: How to resize CEdit dynamically? Pin
Rage18-Jun-07 23:29
professionalRage18-Jun-07 23:29 
AnswerRe: How to resize CEdit dynamically? Pin
David Crow19-Jun-07 2:53
David Crow19-Jun-07 2:53 
AnswerRe: How to resize CEdit dynamically? Pin
bob1697219-Jun-07 4:46
bob1697219-Jun-07 4:46 
AnswerRe: How to resize CEdit dynamically? Pin
Mark Salsbery19-Jun-07 7:42
Mark Salsbery19-Jun-07 7:42 
Questionhow to set text in different fonts in defferent lines of static text control Pin
Banks K18-Jun-07 23:01
Banks K18-Jun-07 23:01 
AnswerRe: how to set text in different fonts in defferent lines of static text control Pin
Rage18-Jun-07 23:30
professionalRage18-Jun-07 23:30 
GeneralRe: how to set text in different fonts in defferent lines of static text control Pin
Banks K19-Jun-07 0:00
Banks K19-Jun-07 0:00 
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


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.