Click here to Skip to main content
15,916,091 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How can let myself's picture cover other control? Pin
Nishad S10-Jan-08 20:30
Nishad S10-Jan-08 20:30 
AnswerRe: How can let myself's picture cover other control? Pin
David Crow11-Jan-08 3:21
David Crow11-Jan-08 3:21 
AnswerRe: How can let myself's picture cover other control? Pin
Mark Salsbery11-Jan-08 8:34
Mark Salsbery11-Jan-08 8:34 
AnswerRe: How can let myself's picture cover other control? Pin
zengkun10011-Jan-08 19:27
zengkun10011-Jan-08 19:27 
GeneralBCGPro ShowControlBar doesn't work when called in OnCreate [modified] Pin
followait10-Jan-08 19:39
followait10-Jan-08 19:39 
Generalcout and printf Pin
CodingLover10-Jan-08 19:26
CodingLover10-Jan-08 19:26 
GeneralRe: cout and printf Pin
Maxwell Chen10-Jan-08 19:33
Maxwell Chen10-Jan-08 19:33 
GeneralRe: cout and printf Pin
CodingLover10-Jan-08 20:34
CodingLover10-Jan-08 20:34 
Thanks a lot.

Oki, here is quite similar problem. I want to write some data to a file. First I include header to a file.

outFile << "File Name\tGroup ID\tDate Created\tDate Last Access\tFile Size\tNo. of Messages\n\n";


Then write there relevant values to it as follows.

outFile << strName << "\t" << strID << "\t" << osCre.str() << "\t" << osAcc.str() << "\t" << iSize << "\t" << mesCount << endl;



But after writing it both headings and values are not aligned with each other correctly. How can I format that.

I appreciate your help all the time...
Eranga Smile | :)

GeneralRe: cout and printf Pin
CPallini10-Jan-08 21:46
mveCPallini10-Jan-08 21:46 
GeneralRe: cout and printf Pin
Maxwell Chen10-Jan-08 21:48
Maxwell Chen10-Jan-08 21:48 
QuestionRe: cout and printf Pin
CPallini10-Jan-08 22:02
mveCPallini10-Jan-08 22:02 
GeneralRe: cout and printf Pin
Maxwell Chen10-Jan-08 22:13
Maxwell Chen10-Jan-08 22:13 
GeneralRe: cout and printf Pin
David Crow11-Jan-08 3:30
David Crow11-Jan-08 3:30 
Generalc++ and VC++ Pin
Amrit Alok10-Jan-08 19:22
Amrit Alok10-Jan-08 19:22 
GeneralRe: c++ and VC++ Pin
Maxwell Chen10-Jan-08 19:32
Maxwell Chen10-Jan-08 19:32 
GeneralRe: c++ and VC++ Pin
Amrit Alok10-Jan-08 19:44
Amrit Alok10-Jan-08 19:44 
GeneralRe: c++ and VC++ Pin
Maxwell Chen10-Jan-08 20:17
Maxwell Chen10-Jan-08 20:17 
GeneralRe: c++ and VC++ Pin
Amrit Alok10-Jan-08 20:40
Amrit Alok10-Jan-08 20:40 
GeneralRe: c++ and VC++ Pin
Maxwell Chen10-Jan-08 21:32
Maxwell Chen10-Jan-08 21:32 
QuestionRe: c++ and VC++ Pin
David Crow11-Jan-08 3:33
David Crow11-Jan-08 3:33 
GeneralRe: c++ and VC++ Pin
Maxwell Chen11-Jan-08 4:04
Maxwell Chen11-Jan-08 4:04 
GeneralRe: c++ and VC++ Pin
Hamid_RT10-Jan-08 21:16
Hamid_RT10-Jan-08 21:16 
GeneralRe: c++ and VC++ Pin
David Crow11-Jan-08 3:36
David Crow11-Jan-08 3:36 
GeneralRe: c++ and VC++ Pin
Amrit Alok14-Jan-08 1:16
Amrit Alok14-Jan-08 1:16 
GeneralRe: c++ and VC++ Pin
Hamid_RT10-Jan-08 19:55
Hamid_RT10-Jan-08 19:55 

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.