Open main menu

CDOT Wiki β

Changes

Queue of Strings - OOP344

138 bytes added, 11:56, 23 November 2010
strque.h
char* operator[](unsigned int index);
// returns number of nodes
int Size();
// Store the _cur pointer so it can be restored after operation
void StoreCur();
// Restores the _cur pointer back to the last '''SotreCur()''' call.
void RestoreCur();
bool GoHead();
bool GoTail();
int Size();
};
#endif
</syntaxhighlight></big>
 
==strque.cpp==
<big><syntaxhighlight lang="cpp">