Change words in files

This is a discussion on Change words in files within the C++ Programming forums, part of the General Programming Boards category; Hi ever1! I would like to know how I can change words in textfiles. eg I have a textfile with ...

  1. #1
    Registered User
    Join Date
    Feb 2002
    Posts
    22

    Change words in files

    Hi ever1!

    I would like to know how I can change words in textfiles. eg I have a textfile with a lot of words, and I want to change the word 'no' on the 3rd line to 'yes'. Can you help me? It's one of the key things for my program...

  2. #2
    Registered User
    Join Date
    Feb 2002
    Posts
    22
    Sorry, never seen that one... thanks!

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Need help with C program
    By ChrisH in forum C Programming
    Replies: 38
    Last Post: 11-13-2004, 12:11 AM
  2. adding a function to a program
    By trippedwire in forum C++ Programming
    Replies: 9
    Last Post: 09-30-2004, 12:35 PM
  3. help with calculating change from a dollar
    By z.tron in forum C++ Programming
    Replies: 3
    Last Post: 09-13-2002, 03:58 PM
  4. Sorting words with a fast, effincient sorting method
    By Unregistered in forum C++ Programming
    Replies: 19
    Last Post: 07-12-2002, 04:21 PM
  5. Replies: 2
    Last Post: 09-04-2001, 02:12 PM

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