我在VC++中想把一个CString类的字符串拷贝到一个char数组中,可是怎么也不行。
我用的是如下的代码:
  char  a[8];
  CString b;
  b="abc" ;
  strcpy(a,(char* )&b);