I can't get strcat and strcpy to work.......see the code below:
I've checked the tutorial, but I can't get it to work anyway.......Code:char word[10] = "hello"; char word2[10] = "hi again"; char word3[2]; strcpy(word3, word[0]) strcat(word3, word2[0]) cout << word3; should output: hh
any ideas?
thanks!




Reply With Quote