Definitions
Sorry, no definitions found. You may find more data at sptr.
Etymologies
Sorry, no etymologies found.
Support

Help support Wordnik (and make this page ad-free) by adopting the word sPtr.
Examples
-
* Purpose: to get * sPtr and return it to main so that I can print statements
DaniWeb IT Discussion Community myluvstefan 2010
-
The first destructor to execute would then delete * the dynamically allocated memory, and the other object's sPtr would * be undefined (meaning sPtr would be a DANGLING POINTER).
DaniWeb IT Discussion Community myluvstefan 2010
-
* Purpose: to get * sPtr and return it to main so that I can print statements
DaniWeb IT Discussion Community myluvstefan 2010
-
* Copy right. sPtr after the tmpStr. sPtr + the length that's already there ... so
DaniWeb IT Discussion Community myluvstefan 2010
-
* Copy sPtr into tmpStr.sPtr. strcpy (tmpStr. sPtr, sPtr); cout
DaniWeb IT Discussion Community myluvstefan 2010
-
* into sPtr. else if string2 is a null pointer, then I make sPtr an empty
DaniWeb IT Discussion Community myluvstefan 2010
-
* be undefined (meaning sPtr would be a DANGLING POINTER).
DaniWeb IT Discussion Community myluvstefan 2010
-
* the dynamically allocated memory, and the other object's sPtr would
DaniWeb IT Discussion Community myluvstefan 2010
-
* that I don't overwrite what I just put in tmpPtr.sPtr. strcpy (tmpStr. sPtr + length, right. sPtr); cout
DaniWeb IT Discussion Community myluvstefan 2010
-
* points to dynamically allocated memory char * sPtr;
DaniWeb IT Discussion Community myluvstefan 2010
Comments
Log in or sign up to get involved in the conversation. It's quick and easy.