text cover

Data Abstraction and Problem Solving with C++

Walls and Mirrors

by Frank M. Carrano

Addison Wesley Logo

c02p113b.cpp File Reference


Detailed Description

Writes a string backward using tail recursion.

Date:
29 May 2006
Chapter:
Chapter 2
Page:
Page 113
Version:
5.0

Definition in file c02p113b.cpp.

Go to the source code of this file.

Functions

void writeBackward (string s, int size)


Function Documentation

void writeBackward string  s,
int  size
 

Writes a character string backward.

Precondition:
The string s contains size characters, where size >= 0.
Postcondition:
None.
Parameters:
s The string to write backward.
size The length of s.

Definition at line 20 of file c02p113b.cpp.

References writeBackward().


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