Problem With Concatenated Array

yas
Last edited on
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...
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.
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?
yas
Last edited on
concatenateArray;

This doesn't call the function. Look here to see how to call a function:
http://www.cplusplus.com/doc/tutorial/functions/
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.