Click here to Skip to main content
15,917,795 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: OnOk() in a mode-less dialog Pin
piul16-May-08 1:35
piul16-May-08 1:35 
QuestionRe: OnOk() in a mode-less dialog Pin
prasad_som16-May-08 2:19
prasad_som16-May-08 2:19 
AnswerRe: OnOk() in a mode-less dialog Pin
piul16-May-08 2:28
piul16-May-08 2:28 
GeneralRe: OnOk() in a mode-less dialog Pin
prasad_som16-May-08 2:41
prasad_som16-May-08 2:41 
GeneralRe: OnOk() in a mode-less dialog Pin
_AnsHUMAN_ 16-May-08 2:52
_AnsHUMAN_ 16-May-08 2:52 
GeneralRe: OnOk() in a mode-less dialog Pin
David Crow16-May-08 5:13
David Crow16-May-08 5:13 
QuestionErasing the contents of a file.. Pin
pl_kode16-May-08 0:25
pl_kode16-May-08 0:25 
AnswerRe: Erasing the contents of a file.. [modified] Pin
Michael Schubert16-May-08 0:35
Michael Schubert16-May-08 0:35 
Without knowing your code, hard to say.

In general, if you are reading the file line by line do the following:

Write each line you read to a temporary file. Once you reach the line you want to delete, skip it. Once your done reading, rename the temporary file overwriting the original file.

modified on Friday, May 16, 2008 6:57 AM

QuestionRe: Erasing the contents of a file.. Pin
David Crow16-May-08 5:15
David Crow16-May-08 5:15 
QuestionOn showing and hiding controls cpu usage reaches 75-100% Pin
Le@rner16-May-08 0:15
Le@rner16-May-08 0:15 
AnswerRe: On showing and hiding controls cpu usage reaches 75-100% Pin
Hamid_RT16-May-08 0:23
Hamid_RT16-May-08 0:23 
GeneralRe: On showing and hiding controls cpu usage reaches 75-100% Pin
Le@rner16-May-08 0:30
Le@rner16-May-08 0:30 
AnswerRe: On showing and hiding controls cpu usage reaches 75-100% Pin
Michael Schubert16-May-08 0:37
Michael Schubert16-May-08 0:37 
GeneralRe: On showing and hiding controls cpu usage reaches 75-100% Pin
Le@rner16-May-08 0:44
Le@rner16-May-08 0:44 
GeneralRe: On showing and hiding controls cpu usage reaches 75-100% Pin
Michael Schubert16-May-08 0:54
Michael Schubert16-May-08 0:54 
GeneralRe: On showing and hiding controls cpu usage reaches 75-100% Pin
Le@rner16-May-08 1:00
Le@rner16-May-08 1:00 
GeneralRe: On showing and hiding controls cpu usage reaches 75-100% Pin
Hamid_RT16-May-08 1:03
Hamid_RT16-May-08 1:03 
GeneralRe: On showing and hiding controls cpu usage reaches 75-100% Pin
Michael Schubert16-May-08 1:07
Michael Schubert16-May-08 1:07 
QuestionRe: On showing and hiding controls cpu usage reaches 75-100% Pin
David Crow16-May-08 5:17
David Crow16-May-08 5:17 
QuestionCreate Tooltip on Toolbar using Win32 Pin
Dabara16-May-08 0:03
Dabara16-May-08 0:03 
AnswerRe: Create Tooltip on Toolbar using Win32 Pin
Iain Clarke, Warrior Programmer16-May-08 0:05
Iain Clarke, Warrior Programmer16-May-08 0:05 
GeneralRe: Create Tooltip on Toolbar using Win32 Pin
Dabara16-May-08 0:23
Dabara16-May-08 0:23 
GeneralRe: Create Tooltip on Toolbar using Win32 Pin
Iain Clarke, Warrior Programmer16-May-08 0:42
Iain Clarke, Warrior Programmer16-May-08 0:42 
GeneralRe: Create Tooltip on Toolbar using Win32 Pin
Dabara16-May-08 0:50
Dabara16-May-08 0:50 
GeneralRe: Create Tooltip on Toolbar using Win32 Pin
Dabara16-May-08 1:02
Dabara16-May-08 1:02 

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.