蔡鸟C++ 类型问题# Programming - 葵花宝典
c*a
1 楼
A function header define is like:
aaa(const char *&x, const char *&y);
我这么implement 可以么?怎么给char *&类型负值尼?
const char *a;
const char *b;
aaa(const char *&x, const char *&y)
{
x=(char *&)a;
y=(char *&)b;
}
Thanks a lot.
aaa(const char *&x, const char *&y);
我这么implement 可以么?怎么给char *&类型负值尼?
const char *a;
const char *b;
aaa(const char *&x, const char *&y)
{
x=(char *&)a;
y=(char *&)b;
}
Thanks a lot.