Click here to Skip to main content
15,898,222 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: I don't have the CTime for this! Pin
rw10413-Mar-07 1:42
rw10413-Mar-07 1:42 
QuestionAppending data to a file Pin
Programm3r13-Mar-07 1:27
Programm3r13-Mar-07 1:27 
AnswerRe: Appending data to a file Pin
James R. Twine13-Mar-07 1:42
James R. Twine13-Mar-07 1:42 
GeneralRe: Appending data to a file Pin
Programm3r13-Mar-07 1:49
Programm3r13-Mar-07 1:49 
GeneralRe: Appending data to a file Pin
James R. Twine13-Mar-07 1:58
James R. Twine13-Mar-07 1:58 
GeneralRe: Appending data to a file Pin
Programm3r13-Mar-07 2:08
Programm3r13-Mar-07 2:08 
AnswerRe: Appending data to a file Pin
Programm3r13-Mar-07 1:46
Programm3r13-Mar-07 1:46 
AnswerRe: Appending data to a file Pin
Stephen Hewitt13-Mar-07 2:14
Stephen Hewitt13-Mar-07 2:14 
Why go to the trouble of using CreateFile directly? Using the standard library it's as simple as this:
// AppendFile.cpp : Defines the entry point for the console application.
//
 
#include "stdafx.h"
#include <fstream>
 
int main()
{
	using namespace std;
 
	ofstream of("C:\\Users\\Steve\\out.txt", ios::out | ios::app);
	of << "Appended me\n";
 
	return 0;
}



Steve

GeneralRe: Appending data to a file Pin
Programm3r13-Mar-07 2:17
Programm3r13-Mar-07 2:17 
Questionproblem with setting pch file Pin
amitmistry_petlad 13-Mar-07 1:17
amitmistry_petlad 13-Mar-07 1:17 
AnswerRe: problem with setting pch file Pin
Paresh Chitte13-Mar-07 1:21
Paresh Chitte13-Mar-07 1:21 
AnswerRe: problem with setting pch file Pin
James R. Twine13-Mar-07 1:39
James R. Twine13-Mar-07 1:39 
QuestionGPU &amp; CUDA Pin
A_Fa13-Mar-07 0:52
A_Fa13-Mar-07 0:52 
AnswerRe: GPU &amp; CUDA Pin
Chris Losinger13-Mar-07 4:15
professionalChris Losinger13-Mar-07 4:15 
Questioncurrent system time in ms Pin
sulabh_expert@rediffmail.com13-Mar-07 0:33
sulabh_expert@rediffmail.com13-Mar-07 0:33 
AnswerRe: current system time in ms Pin
toxcct13-Mar-07 0:37
toxcct13-Mar-07 0:37 
AnswerRe: current system time in ms Pin
Paresh Chitte13-Mar-07 0:41
Paresh Chitte13-Mar-07 0:41 
AnswerRe: current system time in ms Pin
James R. Twine13-Mar-07 0:54
James R. Twine13-Mar-07 0:54 
GeneralRe: current system time in ms Pin
sulabh_expert@rediffmail.com13-Mar-07 1:05
sulabh_expert@rediffmail.com13-Mar-07 1:05 
GeneralRe: current system time in ms Pin
toxcct13-Mar-07 1:37
toxcct13-Mar-07 1:37 
QuestionLink L;ist in C++.NET Pin
Software_Specialist13-Mar-07 0:18
Software_Specialist13-Mar-07 0:18 
AnswerRe: Link L;ist in C++.NET Pin
toxcct13-Mar-07 0:24
toxcct13-Mar-07 0:24 
GeneralRe: Link L;ist in C++.NET Pin
Software_Specialist13-Mar-07 0:31
Software_Specialist13-Mar-07 0:31 
GeneralRe: Link L;ist in C++.NET Pin
toxcct13-Mar-07 0:34
toxcct13-Mar-07 0:34 
GeneralRe: Link L;ist in C++.NET Pin
Software_Specialist13-Mar-07 0:36
Software_Specialist13-Mar-07 0:36 

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.