This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
Date: Tue, 29 Aug 2006 14:38:28 +1000 (EST) From: Serge Bögeholz <serge@turing.une.edu.au> To: gnu@gnu.org Subject: g++ question
I was writing some code to test the toupper(ch) library function that is found in the cctype library.
I noticed I had not entered the line
#include <cctype>
in my C++ program, yet my program compiled and ran correctly as though I had.
Why did this work - all the C++ books I've read state that you need to
include the cctype library if you want to use the toupper(..) function.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |