Solved

Question on appending

Posted on 1998-11-13
2
192 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
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
bobThere java chalenge 45 89
Error on moodle after upgrade 3 123
lucky13 challenge 11 122
Remove Password Protection from pdf (with password) using an command line executable 5 27
Introduction: Hints for the grid button.  Nested classes, templated collections.  Squash that darned bug! Continuing from the sixth article about sudoku.   Open the project in visual studio. First we will finish with the SUD_SETVALUE messa…
Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
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.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

910 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now