I have managed to read a file name and two strings. Now I need to search the file for a lines that maches string1 and replace them with string2. And I have no idea how to do that. Can anyone help me please.
Chepas
0
Newbie Poster
Recommended Answers
Jump to Postwhat operating system ? what version assembly language? what assembler?
Essentually you have to open two files -- input file for input and result (output) file for output. In a loop, read a line from the input file, then write to the output file either the original file or …
Jump to PostThe easiest way to compare two strings depends entirely upon your assembler.
Chances are though that you might do just as well to write it yourself. First you need to have a good 80x86 assembly opcode reference. Here's a good one I found on Google.
…
All 5 Replies
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
Chepas
0
Newbie Poster
Chepas
0
Newbie Poster
Duoas
1,025
Postaholic
Featured Poster
Chepas
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.