That's exactly what I already explained is happening in my previous post:
Yes, you read the entire string into some buffer, probably fgets would be best. Then you iterate (loop) through that...
Type: Posts; User: hk_mp5kpdw
That's exactly what I already explained is happening in my previous post:
Yes, you read the entire string into some buffer, probably fgets would be best. Then you iterate (loop) through that...
char* pop( StackNodePtr *pTop)
{
StackNodePtr pTemp;
char *sPopValue = {0};
pTemp = *pTop; // attach a pointer to element to be removed
sPopValue = ( *pTop )->data;
...