Problem With Concatenated Array

Feb 23, 2010 at 3:16pm
yas
Last edited on Mar 3, 2010 at 2:22pm
Feb 23, 2010 at 4:20pm
Please, use code tags.

You have numerous errors, but I think your main problem is that the parameters you are getting via concatenateArray() are hiding your global variables. You shouldn't even need the globals anyway, since you seem to be intending to pass them as arguments...
Feb 23, 2010 at 4:40pm
what do you mean by using code tags?

i've remove the globals, thus putting the varibles in main(). i can run the program correctly, but i can't get the desire output.
Feb 23, 2010 at 4:41pm
Code tag information:
http://www.cplusplus.com/articles/firedraco1/

What is the output you are getting exactly and what is the new code you have?
Feb 23, 2010 at 4:50pm
yas
Last edited on Mar 3, 2010 at 2:22pm
Feb 23, 2010 at 5:03pm
concatenateArray;

This doesn't call the function. Look here to see how to call a function:
http://www.cplusplus.com/doc/tutorial/functions/
Feb 24, 2010 at 11:53am
Angelina, .. u cannot miss passing arguments to ur function!!!
neverthless the heading of the post was catchy.. concatening strings/arrays are my favs :):)
Topic archived. No new replies allowed.