Solved

Question on appending

Posted on 1998-11-13
2
197 Views
Last Modified: 2013-11-20
Hi there,
         How can I append a string into a file say DATA.TXT?

Any help offered is very much appreciated!
0
Comment
Question by:justinng
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 

Author Comment

by:justinng
ID: 1324684
Adjusted points to 20
0
 
LVL 4

Accepted Solution

by:
pagladasu earned 20 total points
ID: 1324685
If you are using a CFile object, then open it in write mode, after which you position the file pointer using CFile's member function:
SeekToEnd();
after which you can proceed with normal write. Hope this helps.
Thanks and best of luck.
pagladasu
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
mixString challenge 36 134
withoutTen challenge 14 137
matchUp  challenge 9 125
Authenticate using sesu from script 7 116
Introduction: Dialogs (2) modeless dialog and a worker thread.  Handling data shared between threads.  Recursive functions. Continuing from the tenth article about sudoku.   Last article we worked with a modal dialog to help maintain informat…
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question