From 4e1f963b0f9bafe0cc0b60d6772a73699d372d04 Mon Sep 17 00:00:00 2001 From: "Jason L. Wright" Date: Fri, 13 Oct 2023 20:23:29 -0600 Subject: [PATCH] pass by reference isn't discussed until cha8 --- book/cha7.tex | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/book/cha7.tex b/book/cha7.tex index 735c356..bfe44ad 100644 --- a/book/cha7.tex +++ b/book/cha7.tex @@ -549,9 +549,8 @@ \section{Character classification} As an exercise, use the character classification and conversion library to write functions named {\tt stringToUpper} and {\tt stringToLower} that take a single {\tt string} as -a parameter, and that modify the string by converting all the -letters to upper or lower case. The return type should be -{\tt void}. +a parameter, and return a string with all the characters converted to +upper or lower case. The return type should be {\tt string}. \section{Other {\tt string} functions}