Good Morning every one;
I'm attending to apply indexes concept using c++ text files.
I need to create two text files, one for index, the other for data records.
I should insert/delete records to the text file according to physical address of the line, not to the number of the line in the text file.
My problem is to get the address of the line I need to insert/delete from.
...
Search Result
Collapse
8 results in 0.0041 seconds.
Keywords
Members
Tags
-
Retrieving the address of a record in a text file
-
How to create report out of raw text file?
Hello,
I have a text file(tab delim) with data and I want to create report. Here is the content of text file:
HD John Smith j.smith@testmai l.com
CT service 1 5$
CT service2 1 6$
CT service3 4 7$
FT total 6 18$
HD Cindy Surname c.surname@testm ail.com
CT ... ... and etc.
HD- is report header, CT-report content(invoice items), FT-footer.
Now I'm splitting... -
How to display data in text file into xml?
Hello everyone,
My problem is i want to display data in txtfile to the xml file.
For example i write www.yahoo.com in the test.txt and i want to display the link (www.yahoo.com) in the xml file.
Please anyone help me.
Code:<albuminfo> <artLocation>slideshow/slide1.jpg</artLocation> <artist>The Doors</artist> <albumName>Greatest Hits</albumName>
-
How to Import Text file with Feild names in each line to Hashtable ?
Hi All,
I am very new in C# and am doing a test project. In my project i m using a text file which has records along with feild name in each line. How can i import the data in a Hashtable ??
Text File Example :
First_Name Joe
Last_Name Smith
Cell 9785466885
Email joesmith@xyz.co m
First_Name Amanda
Last_Name Collin
Cell 4485965755
Email amandacollin@gs tock.co... -
How to Not append to a file if a line string is already there?
I have a textbox and the text is automatically updated from a text file, I can also type into the textbox and save it to the file that updates it. How can I make it not append any of the lines I type in if they already exist in the saved file?
I am using readAllText and writeAlltext, should I try using something else such as streamReader or streamWriter?
Any help on this part of my code is appreciated.... -
Float Point Exception trouble
For Some reason when I compile the screen says "Floating point exception". Here is my code was wondering if anyone could lend me a hand.
Code:#include <stdio.h> #include <string.h> #include <stdlib.h> char file[100]; int total = 0; struct student { int SID; int quiz[5]; } students[40], highscore, lowscore, avg;
-
How to read a text file into an array
I am trying to read a text file into an array and I'm having some trouble doing so. here is the code that I have so far. Any help would be much appreciated.
Code:#include <stdio.h> #include <ctype.h> #define MAX_ROW 15 #define MAX_COL 6 int main() { FILE* numbers; int x; int ary[MAX_ROW][MAX_COL]; numbers = fopen("extradata.txt",
-
Write .txt extension for $filename
Hi guys,
i am trying to add .txt extension to the filename.
Code:$filename = (isset($_POST['filename'])) ? $_POST['filename'] : '' ;