text copying program help

This is a discussion on text copying program help within the C++ Programming forums, part of the General Programming Boards category; Have no idea how to begin--can you give me resources to guide me or just start me in the right ...

  1. #1
    Registered User
    Join Date
    Apr 2002
    Posts
    1

    text copying program help

    Have no idea how to begin--can you give me resources to guide me or just start me in the right direction. I have a three sentence file in NOTEPAD and have to program it to print with a blank line between each line. Thanks for your help!

  2. #2
    Unregistered
    Guest
    here's some psuedo code for you:

    while not eof
    {
    while curString != '.' || '?'
    {
    file >> curString;
    cout << curString << ' ';
    }
    cout << '\n\n';
    }


    have some fun....

  3. #3
    Unregistered
    Guest
    here's some psuedo code for you:
    Code:
    while not eof
    {
       while curString != '.' || '?'
       {
          file >> curString;
          cout << curString << ' ';
       }
      cout << '\n\n';
    }
    have some fun....

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. C program for text to image
    By karthiks551985 in forum C Programming
    Replies: 7
    Last Post: 10-10-2008, 09:36 AM
  2. Using variables in system()
    By Afro in forum C Programming
    Replies: 8
    Last Post: 07-03-2007, 12:27 PM
  3. Replies: 3
    Last Post: 05-25-2005, 01:50 PM
  4. Changing text size in a program
    By RedTroja in forum C++ Programming
    Replies: 3
    Last Post: 10-12-2003, 03:53 AM
  5. My program, anyhelp
    By @licomb in forum C Programming
    Replies: 14
    Last Post: 08-14-2001, 10:04 PM

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