fsharer
asked on
Adding to pointer
How would I add 2 pointers together?
this is what i have:
String *msg = "LIST|" + userList() + "\r\n";
I have looked for refrences to adding pointers on google but really couldnt find any that I understand. Would someone explain to me how I would go about adding 2 pointers?
String *userList()
{
}
this is what i have:
String *msg = "LIST|" + userList() + "\r\n";
I have looked for refrences to adding pointers on google but really couldnt find any that I understand. Would someone explain to me how I would go about adding 2 pointers?
String *userList()
{
}
ASKER
Still is giving me the same error, but also is telling me the right operand is illegal, and can not perform pointer arithmetic on __gc pointer String
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks, I figured it out yesterday, and I was going o confirm today, and made the confirmation!
String *msg = "LIST|" + userList();
msg += "\r\n";