Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Text Edit in C
Name: Poco87 Date: July 21, 2008 at 07:28:46 Pacific OS: Windows CPU/Ram: n/a Product: n/a
Comment:
I am currently editing hundreds of data files by hand so they can be read with a new software. I have tried to write a program to do it for me, but being new to C i was unable to make it work. The files have lines of text like so:
150110 ON US 50 4.4 01 1400 052107 0000 0000 0000 000 000 000 OF RIPLE
followed by many lines of data. The first few lines need to be changed and reorganized, for instance 150110 needs to become 000015011011 and ON US 50 needs to move to the end of the second line, etc etc. Could someone let me know how to read each of these components and edit them appropriately? Thanks a lot in advance.
Summary: I have trying in vain to write a c program to read a text file in a c program to a char pointer. could someone give me an example on how to achieve this. My requirement is to read a text file in to a ...
Summary: Hello all. I am having a small problem here. Im trying to code a text editor in c++ console. I have the majority of it done, but am running into a small problem. I was able to accept input(text), put ...
Summary: Hi, I want to know how to combine two text files in c. file A contains aaaaaaabbbbbbb………..ppppppp file B contains 11111112222222…………00000001111111 file C should have the combinati...