HELP: pair-value search & replace

This is a discussion on HELP: pair-value search & replace within the C++ Programming forums, part of the General Programming Boards category; Does anyone know to quickly make a multiple search & replace app (in either C or C++)? Am not interested ...

  1. #1
    Registered User
    Join Date
    Mar 2009
    Posts
    12

    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
    Location
    Poland
    Posts
    682
    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:

    Google

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

  3. #3
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,824
    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.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

Popular pages Recent additions subscribe to a feed

Similar Threads

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21