text cover

Data Abstraction and Problem Solving with C++

Walls and Mirrors

by Frank M. Carrano

Addison Wesley Logo

c02p113b.cpp

Go to the documentation of this file.
00001 
00020 void writeBackward(string s, int size)
00021 {
00022    if (size > 0)
00023    {  // write last character
00024       cout << s.substr(size-1, 1);
00025       writeBackward(s, size-1);  // write rest
00026    }  // end if
00027 }  // end writeBackward

Generated on Sun Aug 27 11:05:08 2006 for AWLogo by  doxygen 1.4.6