Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~15.7K People Reached
Favorite Forums
Favorite Tags
Member Avatar for FireNet

File I/O With C++ Fstream **Intro** File handling is as simple as writing in a book, much easier to modify and find. It's so simple people get confused with it :-). Welcome to the world of file handling. We will use the c++ fstream classes to do our file handling. …

Member Avatar for Swalih
5
11K
Member Avatar for integer*09

Any idea how to check if a text file is still being opened by another program?? I wanted to write to the file after the other program had finished its task and closed the text file. As i know two programs cant open the same file at the same time.

Member Avatar for enriquezrene_ap
0
145
Member Avatar for integer*09

Hi all, I got this assertion problem that i cant seem to solve, could you guys help me on this. So far, i think the problem might be due to the while loop for the iterator line by line check and i have made changes to it but still cant …

Member Avatar for shijobaby
0
746
Member Avatar for integer*09

Hi All, I just created a simple displaying of photos in a CLR window form application just like a slideshow of photos. With the code below that is within a button_click, however the form will displayed only the last pic (picgen(3)) after all the sleep time of 4.5s. What should …

Member Avatar for integer*09
0
99
Member Avatar for integer*09

Hi all, Currently, i'm having a window to show rows of data. the following is for 1st row: [ICODE]a0_1->Text = "blah,blah"; b0_1->Text = "blah,blah"; c0_1->Text = "blah,blah"; d0_1->Text = "blah,blah"; e0_1->Text = "blah,blah"; ...............[/ICODE] And as for the 2nd row, its just a change for the last integer of the …

Member Avatar for integer*09
0
86
Member Avatar for integer*09

Hi all, Good day to all. I trying to do a program using VC++ window form that involved loading the data from .csv file and displayed it into the window form with labels. Vice versa, when the user key in data, four of the below show column values will changed, …

Member Avatar for integer*09
0
2K
Member Avatar for integer*09

In my development com there's no issue of handling 4MB of text file data but it took about 1-2mins for my program to finish. I got a few questions here: Q1-> how much can this string "line" store? Q2-> should i use sstrm.clear() and line.clear() inside the while loop or …

Member Avatar for vmanes
0
121
Member Avatar for integer*09

Hi all, Lets say Program A had opened a AAA.txt and had finished writing to it but didnt closed it as it is waiting for another patch of data to be written in around 1 mins or so. So in between the 1mins times can Program B copy its content …

Member Avatar for ninjaneer
0
143
Member Avatar for integer*09

Hi all, the while loop in my code dont seem to be working as i wanted it to. I wanted it to constantly check if new data is available in the sample.txt but curently after the button click it just finished with one try. is it i put everything into …

Member Avatar for Ancient Dragon
0
128
Member Avatar for integer*09

Im able to copy the entire content of say file A to file B but the last line of file B end with several unwanted tttttt. I suspected the number of "t" is related to the number of line if read and written. Any advise will be greatly appreciated. file …

Member Avatar for integer*09
0
160
Member Avatar for integer*09

Hi all, I need some help on creating a file with name from user input like from textbox. i have the following code with the filename in textBox2->Text but i dont know how i can get it done. [CODE]string::size_type j = line.find_first_of( " \t", iter ); string found; found = …

Member Avatar for integer*09
0
159
Member Avatar for integer*09

Hi all, I have done a word search within a text file and managed to find it on a particular line, but i dont know what to do so as to get the word/number directly after the searched word. e.g content with the text file sdakodjskfjsdkfjasook sample1. : ihavemakeit sdofjsdfjasfjsdkf …

Member Avatar for integer*09
0
228