Thread: String array arrangement problem

  1. #1
    Registered User
    Join Date
    Apr 2011
    Posts
    5

    String array arrangement problem

    I'm attempting to concatenate a string array, consisting of 200 elements and 200 subarrays.

    The output goes into a text file, but every word is on a new line, because it sees them as individual strings.

    How do I arrange the elements one after the other, horizontally?

  2. #2
    ATH0 quzah's Avatar
    Join Date
    Oct 2001
    Posts
    14,826
    Remove the newlines from them before you write them to the file.


    Quzah.
    Hope is the first step on the road to disappointment.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. arrangement of the string in every possible way
    By vijayr_singh in forum C Programming
    Replies: 2
    Last Post: 12-13-2006, 06:46 AM
  2. data arrangement and sorting.
    By cdkiller in forum C++ Programming
    Replies: 3
    Last Post: 02-15-2006, 01:55 AM
  3. problem with string and array
    By Methje in forum C++ Programming
    Replies: 9
    Last Post: 01-26-2006, 01:15 PM
  4. string/array problem?
    By Mr_Stuck in forum C++ Programming
    Replies: 5
    Last Post: 03-25-2003, 10:10 AM