Thread: HELP: pair-value search & replace

  1. #1
    Registered User
    Join Date
    Mar 2009

    HELP: pair-value search & replace

    Does anyone know to quickly make a multiple search & replace app (in either C or C++)? Am not interested in searching multiple files, just one file. I want to translate a list of unicode characters into something else (pair-value lookup table) ... so it's basically a crude/naive translator!

    I just need a quick pseudocode to get me started. Or maybe there's an opensource/free code already written?

    PS: Or maybe it's easier quicker with sed/awk/perl?

  2. #2
    Registered User
    Join Date
    Aug 2010
    Did you try to do it yourself? Yes, there are open sources like Notepad++ (if this is what you are looking for).

    Nice copy & paste btw:


    PS: Or maybe it's easier quicker with sed/awk/perl?

  3. #3
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    The edge of the known universe
    Yeah - that deserves a close, so we don't waste any more time on someone so selfish.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. search algorithm
    By DavidP in forum A Brief History of
    Replies: 5
    Last Post: 09-17-2007, 02:59 PM
  2. Binary Search Trees Part III
    By Prelude in forum A Brief History of
    Replies: 16
    Last Post: 10-02-2004, 03:00 PM
  3. Big help in Astar search code...
    By alvifarooq in forum C++ Programming
    Replies: 6
    Last Post: 09-24-2004, 11:38 AM
  4. Contest Results - May 27, 2002
    By ygfperson in forum A Brief History of
    Replies: 18
    Last Post: 06-18-2002, 01:27 PM
  5. string search and replace
    By Unregistered in forum C Programming
    Replies: 4
    Last Post: 05-22-2002, 01:50 AM