![]() |
Data Abstraction and Problem Solving with C++Walls and Mirrorsby Frank M. Carrano |
![]() |
c02p114.cppGo to the documentation of this file.00001 00021 void writeBackward(string s, int size) 00022 { 00023 while (size > 0) 00024 { cout << s.substr(size-1, 1); 00025 --size; 00026 } // end while 00027 } // end writeBackward |