Grabbing value of pointers
Posted
by
user1205956
on Stack Overflow
See other posts from Stack Overflow
or by user1205956
Published on 2013-10-25T03:16:50Z
Indexed on
2013/10/25
3:54 UTC
Read the original article
Hit count: 88
c++
In C++ I am making a static library where I must set two variables equal to the value of the objects sent in to the method.
This is what I have:
bool setTags(char *pStartTag, char *pEndTag) {
// Code to set the tags here.
return true;
}
Basically the calling function puts in two character arrays. I am required to do it this way so I cannot deviate on these ways. How do I set two variables equal to the whole character array that is passed through?
© Stack Overflow or respective owner