请教字符串合并的问题
#include <cstdlib>
#include <ctime>
#include <iostream>
using std::cout;
using std::endl;
int main()
{
char tmp_url01[50];
char tmp_rand[20];
strcpy( tmp_url01, "wwwww");
strcpy( tmp_rand , ((char)(2*3)));
strcat(tmp_url01,tmp_rand);
cout << tmp_url01 << endl;
return 0;
}
error C2664: 'strcpy' : cannot convert parameter 2 from 'char' to 'const char *'
tmp_rand要怎样转化才能用于合并呢
谢谢