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

C / C++ / MFC

 
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 
A handy way could be to use typedefs:
typedef struct Mytype {
unsigned int ty_recored : 1;
unsigned int id_participant : 6;
unsigned int start_pic : 8;
unsigned int dt_end_pic : 8 } Mytype;

typedef union Myunion
{
unsigned int ReadData;
Mytype ValueData;

}

Read in the lines of the file in the member ReadData of a variable of type Myunion, and get the data using the ValueData member.


Sorry for that, read Iain's post.


Or read the lines as text strings and parse them.The way you want to parse them depends on what you are using (char*, CString, or stl::string).

To save in an excel format, simply use the csv format (column value, coma, column value, coma, and so on ).


<div class='ForumSig'>Constantly "Saving the day" should be taken as a sign of organizational dysfunction rather than individual skill - Ryan Roberts[^]</div>
Last modified: 50mins after originally posted --



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 
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 

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.