Click here to Skip to main content
16,011,428 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionMulticolumns in CListBox Pin
Eytukan19-Jan-06 22:42
Eytukan19-Jan-06 22:42 
AnswerRe: Multicolumns in CListBox Pin
Michael Dunn19-Jan-06 22:54
sitebuilderMichael Dunn19-Jan-06 22:54 
GeneralRe: Multicolumns in CListBox Pin
Eytukan19-Jan-06 22:59
Eytukan19-Jan-06 22:59 
GeneralRe: Multicolumns in CListBox Pin
David Crow20-Jan-06 3:36
David Crow20-Jan-06 3:36 
AnswerRe: Multicolumns in CListBox Pin
ThatsAlok19-Jan-06 23:13
ThatsAlok19-Jan-06 23:13 
AnswerRe: Multicolumns in CListBox Pin
S Douglas20-Jan-06 0:24
professionalS Douglas20-Jan-06 0:24 
Questioncopy datas from one file to other file Pin
Anu_Bala19-Jan-06 22:33
Anu_Bala19-Jan-06 22:33 
AnswerRe: copy datas from one file to other file Pin
Cedric Moonen19-Jan-06 22:46
Cedric Moonen19-Jan-06 22:46 
It is a very general question, difficult to answer precisely.
If you use the STL (or are familiar with), you can open an input stream ifstream, read the stream char by charfor example and by the same time outputing it to an output stream ofstream

std::ifstream InputStream("test.txt");<br />
std::ofstream OutputStream("AnotherTest.txt");<br />
<br />
char c;<br />
while(true)<br />
{<br />
    InputStream>>c;<br />
    if (InputStream)<br />
    { <br />
         OutputStream<<c;<br />
    }<br />
}<br />
<br />
OutputStream.close();<br />
InputStream.close();


-- modified at 5:10 Friday 20th January, 2006

Ooops, sorry, I forgot the "exit" of the loop Poke tongue | ;-P
It should be:

if (InputStream)<br />
    { <br />
         OutputStream<<c;<br />
    }<br />
else<br />
break;


This will work better Big Grin | :-D
QuestionRe: copy datas from one file to other file Pin
David Crow20-Jan-06 3:34
David Crow20-Jan-06 3:34 
QuestionHiding of dialogs Pin
nilesh.gawade19-Jan-06 22:30
nilesh.gawade19-Jan-06 22:30 
AnswerRe: Hiding of dialogs Pin
Cedric Moonen19-Jan-06 22:50
Cedric Moonen19-Jan-06 22:50 
GeneralRe: Hiding of dialogs Pin
Owner drawn19-Jan-06 22:59
Owner drawn19-Jan-06 22:59 
AnswerRe: Hiding of dialogs Pin
khan++20-Jan-06 0:01
khan++20-Jan-06 0:01 
QuestionSimple MFC App VS2005 Pin
S Douglas19-Jan-06 21:10
professionalS Douglas19-Jan-06 21:10 
AnswerRe: Simple MFC App VS2005 Pin
Cedric Moonen19-Jan-06 21:42
Cedric Moonen19-Jan-06 21:42 
GeneralRe: Simple MFC App VS2005 Pin
S Douglas19-Jan-06 22:09
professionalS Douglas19-Jan-06 22:09 
GeneralRe: Simple MFC App VS2005 Pin
Cedric Moonen19-Jan-06 22:11
Cedric Moonen19-Jan-06 22:11 
GeneralRe: Simple MFC App VS2005 Pin
S Douglas19-Jan-06 22:18
professionalS Douglas19-Jan-06 22:18 
GeneralRe: Simple MFC App VS2005 Pin
Cedric Moonen19-Jan-06 22:14
Cedric Moonen19-Jan-06 22:14 
GeneralRe: Simple MFC App VS2005 Pin
S Douglas19-Jan-06 22:51
professionalS Douglas19-Jan-06 22:51 
AnswerRe: Simple MFC App VS2005 Pin
Michael Dunn19-Jan-06 22:59
sitebuilderMichael Dunn19-Jan-06 22:59 
GeneralRe: Simple MFC App VS2005 Pin
S Douglas19-Jan-06 23:16
professionalS Douglas19-Jan-06 23:16 
QuestionParse main arguments in C Pin
bouli19-Jan-06 20:59
bouli19-Jan-06 20:59 
AnswerRe: Parse main arguments in C Pin
ThatsAlok19-Jan-06 21:14
ThatsAlok19-Jan-06 21:14 
GeneralRe: Parse main arguments in C Pin
bouli19-Jan-06 22:51
bouli19-Jan-06 22:51 

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.