Click here to Skip to main content
16,006,768 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to read / write Windows NT Extended Attribute Data and Property Data stream Pin
Touseef Afzal23-May-06 4:09
Touseef Afzal23-May-06 4:09 
QuestionMixing C inside MFC programs Pin
blacksalt23-May-06 3:57
blacksalt23-May-06 3:57 
AnswerRe: Mixing C inside MFC programs Pin
Cedric Moonen23-May-06 4:06
Cedric Moonen23-May-06 4:06 
AnswerRe: Mixing C inside MFC programs Pin
John R. Shaw23-May-06 13:11
John R. Shaw23-May-06 13:11 
GeneralRe: Mixing C inside MFC programs Pin
blacksalt24-May-06 3:59
blacksalt24-May-06 3:59 
GeneralRe: Mixing C inside MFC programs Pin
John R. Shaw3-Jun-06 4:41
John R. Shaw3-Jun-06 4:41 
QuestionDeleting a line in a text file Pin
Azghar Hussain23-May-06 3:56
professionalAzghar Hussain23-May-06 3:56 
AnswerRe: Deleting a line in a text file Pin
Cedric Moonen23-May-06 4:03
Cedric Moonen23-May-06 4:03 
You can't. What you have to do is read the file in memory, erase the line and write the complete file back. An alternative is to open a temporary file, write line by line in it (except for the line you want to remove), delete your original file and then rename your new file.


Cédric Moonen
Software developer

Charting control
GeneralRe: Deleting a line in a text file Pin
Azghar Hussain23-May-06 4:12
professionalAzghar Hussain23-May-06 4:12 
GeneralRe: Deleting a line in a text file Pin
toxcct23-May-06 4:16
toxcct23-May-06 4:16 
GeneralRe: Deleting a line in a text file Pin
Cedric Moonen23-May-06 4:18
Cedric Moonen23-May-06 4:18 
GeneralRe: Deleting a line in a text file Pin
Azghar Hussain23-May-06 4:25
professionalAzghar Hussain23-May-06 4:25 
GeneralRe: Deleting a line in a text file Pin
led mike23-May-06 6:00
led mike23-May-06 6:00 
Questionhow to change back ground color of slider control Pin
aaaan23-May-06 3:14
aaaan23-May-06 3:14 
AnswerRe: how to change back ground color of slider control Pin
Laxman Auti23-May-06 3:26
Laxman Auti23-May-06 3:26 
Questiondata visualisation in command prompt [modified] Pin
McBridou23-May-06 2:45
McBridou23-May-06 2:45 
QuestionDraw transparent bitmap in desktop Pin
Hadi Dayvary23-May-06 2:33
professionalHadi Dayvary23-May-06 2:33 
AnswerRe: Draw transparent bitmap in desktop Pin
_AnsHUMAN_ 23-May-06 2:41
_AnsHUMAN_ 23-May-06 2:41 
GeneralRe: Draw transparent bitmap in desktop Pin
Hadi Dayvary23-May-06 2:58
professionalHadi Dayvary23-May-06 2:58 
GeneralRe: Draw transparent bitmap in desktop Pin
Laxman Auti23-May-06 3:01
Laxman Auti23-May-06 3:01 
AnswerRe: Draw transparent bitmap in desktop Pin
ThatsAlok23-May-06 2:46
ThatsAlok23-May-06 2:46 
GeneralRe: Draw transparent bitmap in desktop Pin
Hadi Dayvary23-May-06 3:00
professionalHadi Dayvary23-May-06 3:00 
QuestionCTreeCtrl Pin
Niro198323-May-06 2:22
Niro198323-May-06 2:22 
Question_bstr_t to char* [modified] Pin
koumodaki23-May-06 2:20
koumodaki23-May-06 2:20 
AnswerRe: _bstr_t to char* [modified] Pin
ThatsAlok23-May-06 2:42
ThatsAlok23-May-06 2:42 

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.