Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

How to search and replace there bytes in file with one byte?

Status
Not open for further replies.

aamiralikhoja

Member level 5
Joined
Aug 11, 2004
Messages
90
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,288
Activity points
708
How to search and replace there bytes in file with one byte ie if

file containd 112233 i want to replace with 0f in whole file please give me

alogorthm.
 

Re: help How to do this?

You will copy the file into another with an N-character pre-read buffer. If the content of the buffer is the same with some character sequence to be replaced, just write some replacing character sequence and make the buffer empty.
 

Re: help How to do this?

Thanks but how to do this ? I need some code not only idea.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top