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

C / C++ / MFC

 
AnswerRe: Any way to start an application at bootup? Pin
James R. Twine30-Jan-07 1:23
James R. Twine30-Jan-07 1:23 
QuestionProblem with WriteFile Pin
amitmistry_petlad 29-Jan-07 19:14
amitmistry_petlad 29-Jan-07 19:14 
AnswerRe: Problem with WriteFile Pin
Stephen Hewitt29-Jan-07 19:34
Stephen Hewitt29-Jan-07 19:34 
GeneralRe: Problem with WriteFile Pin
amitmistry_petlad 29-Jan-07 22:09
amitmistry_petlad 29-Jan-07 22:09 
GeneralRe: Problem with WriteFile Pin
David Crow30-Jan-07 2:30
David Crow30-Jan-07 2:30 
GeneralRe: Problem with WriteFile Pin
amitmistry_petlad 30-Jan-07 2:35
amitmistry_petlad 30-Jan-07 2:35 
QuestionRe: Problem with WriteFile Pin
David Crow30-Jan-07 2:43
David Crow30-Jan-07 2:43 
AnswerRe: Problem with WriteFile Pin
amitmistry_petlad 30-Jan-07 3:11
amitmistry_petlad 30-Jan-07 3:11 
ifstream/ReadFile
ofstream/WriteFile


here is second question .
after complete reading of file how can i destroy/delete the file .

e.g.

in.open("anyfile.xml", ios::in);
char str[2000];
string outstring;
if(is_open())
{

while(in >> str)
outstring+=str;
}
in.close();

Now , how can i delete "anyfile.xml".


Amit
GeneralRe: Problem with WriteFile Pin
David Crow30-Jan-07 3:29
David Crow30-Jan-07 3:29 
GeneralRe: Problem with WriteFile Pin
Stephen Hewitt30-Jan-07 11:34
Stephen Hewitt30-Jan-07 11:34 
GeneralRe: Problem with WriteFile Pin
amitmistry_petlad 30-Jan-07 16:47
amitmistry_petlad 30-Jan-07 16:47 
GeneralRe: Problem with WriteFile Pin
Stephen Hewitt30-Jan-07 16:54
Stephen Hewitt30-Jan-07 16:54 
GeneralRe: Problem with WriteFile Pin
amitmistry_petlad 30-Jan-07 18:00
amitmistry_petlad 30-Jan-07 18:00 
GeneralRe: Problem with WriteFile Pin
Stephen Hewitt30-Jan-07 18:07
Stephen Hewitt30-Jan-07 18:07 
GeneralRe: Problem with WriteFile Pin
amitmistry_petlad 30-Jan-07 18:58
amitmistry_petlad 30-Jan-07 18:58 
GeneralRe: Problem with WriteFile Pin
Stephen Hewitt30-Jan-07 19:24
Stephen Hewitt30-Jan-07 19:24 
GeneralRe: Problem with WriteFile Pin
amitmistry_petlad 30-Jan-07 19:47
amitmistry_petlad 30-Jan-07 19:47 
Questionfatal error C1001: INTERNAL COMPILER ERROR Pin
devvvy29-Jan-07 15:31
devvvy29-Jan-07 15:31 
AnswerRe: fatal error C1001: INTERNAL COMPILER ERROR Pin
Michael Dunn29-Jan-07 15:41
sitebuilderMichael Dunn29-Jan-07 15:41 
AnswerRe: fatal error C1001: INTERNAL COMPILER ERROR Pin
Stephen Hewitt29-Jan-07 16:16
Stephen Hewitt29-Jan-07 16:16 
QuestionDebugging Pin
Waldermort29-Jan-07 13:38
Waldermort29-Jan-07 13:38 
AnswerRe: Debugging Pin
Mark Salsbery29-Jan-07 13:50
Mark Salsbery29-Jan-07 13:50 
GeneralRe: Debugging Pin
Waldermort29-Jan-07 21:34
Waldermort29-Jan-07 21:34 
Questionmaking simple DVD Player using API Pin
Khoramdin29-Jan-07 11:45
Khoramdin29-Jan-07 11:45 
AnswerRe: making simple DVD Player using API Pin
ThatsAlok29-Jan-07 17:58
ThatsAlok29-Jan-07 17:58 

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.