Works perfectly. Exactly what I was looking for. Thanks to all!
Type: Posts; User: voidpain()
Works perfectly. Exactly what I was looking for. Thanks to all!
Also, just wanted to mention how bad ass this forum is. I'm in a summer school class right now, and the school's Help Center has been closed all summer. So far, this forum has been extremely...
I actually previously implemented this as char zztop[30], and I got it to print just fine within main. But how exactly am I going to pass zztop[30] into the insert function? I can't pass an array...
Oh, so does that mean that the string entered will be lost and unreachable outside of the main function? How do I avoid this, or how do I allocate memory for this? I can't imagine I'd be using a...
The first printf statement inside main seems to work fine. How should I be printing zztop there otherwise?
I removed the ampersand before value in the second printf statement located in the...
I am trying to pass a string to this function:
void insert(ListNodePtr *sPtr, char *value);
I am gathering the string from scanf, printing it, and then passing it to the function like so...