problem with arrays

#include<iostream.h>
#include<conio.h>

void replace(char[]);
void main()
{
char name[10];
cout<<"Name????:";
cin.getline(name,10);
replace(name);
getch();

}

void replace(char h[10])
{
cout.write(h,10);
}
Hmmm I don't understand the question, But I got you this.
http://www.augustcouncil.com/~tgibson/tutorial/arr.html

Hope that helps, it contains quite a bit about arrays.

PS: I'm new to C++ myself.
__________________
Just trying to help.
What's the problem?
Code's output is

1
2
3
:!./a.out 
Name????:testUser
testUser
Topic archived. No new replies allowed.