Can someone tell me why my print array method won't print strings.
It works with an int array, but only prints a few strings.
template < typename T >
void printArray(T * const array, int size)
{
for (int i=0; i < size; ++i)
cout << array[i] << ' ';
cout << endl;
}//printarray
any help would be great thanks.