Click here to Skip to main content
16,014,294 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Window Messages Pin
Walter Gildersleeve1-Feb-01 4:49
Walter Gildersleeve1-Feb-01 4:49 
Generaldatabase structure to XML Pin
30-Jan-01 22:02
suss30-Jan-01 22:02 
GeneralRe: database structure to XML Pin
David Fedolfi31-Jan-01 3:47
David Fedolfi31-Jan-01 3:47 
GeneralRe: database structure to XML Pin
31-Jan-01 4:11
suss31-Jan-01 4:11 
GeneralRich Edit Control Pin
30-Jan-01 22:01
suss30-Jan-01 22:01 
GeneralRe: Rich Edit Control Pin
Erik Funkenbusch31-Jan-01 12:09
Erik Funkenbusch31-Jan-01 12:09 
GeneralUnix into DOS Pin
30-Jan-01 21:51
suss30-Jan-01 21:51 
GeneralRe: Unix into DOS Pin
Erik Funkenbusch31-Jan-01 12:12
Erik Funkenbusch31-Jan-01 12:12 
There is no "command" to do this. If you are absolutely certain the file will always be a unix file, you can open the file in binary mode, read it into memory, then write it out in text mode. This will do the translation for you. An alternative would be to open both input and output files simultaneously, read a chunk at a time from one into the other, and when finished, delete the original file and rename the new file to the old filename.

GeneralModeless dialog as the _only_ visible. Pin
30-Jan-01 20:17
suss30-Jan-01 20:17 
GeneralWindows NT/2000 Service Pin
Lito30-Jan-01 19:25
Lito30-Jan-01 19:25 
GeneralRe: Windows NT/2000 Service Pin
31-Jan-01 9:58
suss31-Jan-01 9:58 
GeneralArgh !!! Build always does rebuild all !!! Pin
Christian Graus30-Jan-01 16:18
protectorChristian Graus30-Jan-01 16:18 
GeneralRe: Argh !!! Build always does rebuild all !!! Pin
Michael Dunn30-Jan-01 18:50
sitebuilderMichael Dunn30-Jan-01 18:50 
GeneralRe: Argh !!! Build always does rebuild all !!! Pin
Christian Graus30-Jan-01 19:14
protectorChristian Graus30-Jan-01 19:14 
GeneralRe: Argh !!! Build always does rebuild all !!! Pin
Brendan Tregear1-Feb-01 12:21
Brendan Tregear1-Feb-01 12:21 
GeneralRe: Argh !!! Build always does rebuild all !!! Pin
30-Jan-01 21:22
suss30-Jan-01 21:22 
GeneralRe: Argh !!! Build always does rebuild all !!! Pin
l a u r e n31-Jan-01 9:41
l a u r e n31-Jan-01 9:41 
GeneralClosing a DOS box Pin
30-Jan-01 13:25
suss30-Jan-01 13:25 
GeneralRe: Closing a DOS box Pin
30-Jan-01 14:04
suss30-Jan-01 14:04 
QuestionListBox?? Pin
30-Jan-01 11:12
suss30-Jan-01 11:12 
AnswerRe: ListBox?? Pin
Christian Graus30-Jan-01 13:58
protectorChristian Graus30-Jan-01 13:58 
GeneralRe: ListBox?? Pin
31-Jan-01 2:08
suss31-Jan-01 2:08 
GeneralRe: ListBox?? Pin
David Fedolfi31-Jan-01 3:02
David Fedolfi31-Jan-01 3:02 
GeneralRe: ListBox?? Pin
31-Jan-01 6:06
suss31-Jan-01 6:06 
GeneralRe: ListBox?? Pin
David Fedolfi1-Feb-01 3:00
David Fedolfi1-Feb-01 3:00 

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.