Word Processor

This is a discussion on Word Processor within the C++ Programming forums, part of the General Programming Boards category; Hey, I am trying to make a simple word processing program. I would like to use something like this: char ...

  1. #1
    Registered User BigSter's Avatar
    Join Date
    Nov 2001
    Posts
    47

    Cool Word Processor

    Hey,
    I am trying to make a simple word processing program. I would like to use something like this:

    char a_char;
    a_char=getche();

    but I need it to be able to read spaces. Does anyone have any ideas?

    Thanks,

  2. #2
    Confused Magos's Avatar
    Join Date
    Sep 2001
    Location
    Sweden
    Posts
    3,145
    Since you're posting in the C++ forum, you could use cin.getline();
    MagosX.com

    Give a man a fish and you feed him for a day.
    Teach a man to fish and you feed him for a lifetime.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. A certain type of word processor
    By Cielo in forum Tech Board
    Replies: 1
    Last Post: 11-30-2007, 12:07 PM
  2. brace-enclosed error
    By jdc18 in forum C++ Programming
    Replies: 53
    Last Post: 05-03-2007, 05:49 PM
  3. Intel syntax on MinGW ?
    By TmX in forum Tech Board
    Replies: 2
    Last Post: 01-06-2007, 08:44 AM
  4. Wrong Output
    By egomaster69 in forum C Programming
    Replies: 7
    Last Post: 01-28-2005, 05:44 PM
  5. word processor
    By christian in forum C++ Programming
    Replies: 4
    Last Post: 09-29-2002, 07:45 PM

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