i'm haveing trouble with my program:
for ( int i = 0; i < divmax; i++ )
{
strcpy ( names[i], name[i] );
}
does anyone know why this doesnt work?? I get an error of :
cpp(66) : error C2664: 'strcpy' : cannot convert parameter 1 from 'class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >' to 'char *'
please help me out
thanks
abbs