![]() |
Data Abstraction and Problem Solving with C++Walls and Mirrorsby Frank M. Carrano |
![]() |
writeBackward2.cppGo to the documentation of this file.00001 00024 void writeBackward2(Node *stringPtr) 00025 { 00026 if (stringPtr != NULL) 00027 { // write the string minus its first character backward 00028 writeBackward2(stringPtr->next); 00029 00030 // write the first character 00031 cout << stringPtr->item; 00032 } // end if 00033 } // end writeBackward2 |