Thread: Char

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

    Question Char

    Question:
    How do you add a char to itself?

    Scenario:
    I'm using Borland C++. Let's say you wanted to put in a space and that space to increase as the program progresses. I want to add more space during the program.

    So thats what I want to do. I was just wondering if its possible and "if then", heh heh heh , how?

  2. #2
    Unregistered
    Guest
    If you start out with a char array of a given size and wish to enlarge it durning course of program, then it's dynamic memory you want to learn about.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. C++ ini file reader problems
    By guitarist809 in forum C++ Programming
    Replies: 7
    Last Post: 09-04-2008, 06:02 AM
  2. Sorting Linked Lists
    By DKING89 in forum C Programming
    Replies: 6
    Last Post: 04-09-2008, 07:36 AM
  3. code condensing
    By bcianfrocca in forum C++ Programming
    Replies: 4
    Last Post: 09-07-2005, 09:22 AM
  4. Passing structures... I can't get it right.
    By j0hnb in forum C Programming
    Replies: 6
    Last Post: 01-26-2003, 11:55 AM
  5. String sorthing, file opening and saving.
    By j0hnb in forum C Programming
    Replies: 9
    Last Post: 01-23-2003, 01:18 AM