Solved

Question on appending

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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
maxBlock challenge 30 128
VBA "SendKeys" Syntax for Multiple Keystrokes 7 108
Modbus - whats the maximum I can store in one register? 4 79
wordmultiple challenge 12 131
Introduction: Finishing the grid – keyboard support for arrow keys to manoeuvre, entering the numbers.  The PreTranslateMessage function is to be used to intercept and respond to keyboard events. Continuing from the fourth article about sudoku. …
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…
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.
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

785 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