<color><param>7F00,0000,0000</param>> Hey,
>
> A friend of mine and I noticed something the other day with the
> Dev-C++ C standard libraries. How come toupper() is not in cstring.h
> but in another library?
</color>Because it should be somewhere else:
<FontFamily><param>Times New Roman</param>7.4.2.2 The <FontFamily><param>Courier-Bold</param>toupper <FontFamily><param>Times New Roman</param>function
Synopsis
1 <FontFamily><param>Courier-Bold</param>#include <<ctype.h>
int toupper(int c);
<FontFamily><param>Times New Roman</param>Description
2 The <FontFamily><param>Courier-Bold</param>toupper <FontFamily><param>Times New Roman</param>function converts a lowercase letter to a corresponding
uppercase letter.<color><param>7F00,0000,0000</param><FontFamily><param>Arial</param>
</color>> This will mess up the code on other
<color><param>7F00,0000,0000</param>> compilers.
</color>Only code that isn't compliant to begin with.
<color><param>7F00,0000,0000</param> Are you trying to make Dev-C++ ANSI-compliant?
</color>A distinction needs to be made between Dev-C++ and Mingw32.
Dev-C++ is simply (no offence to Colin) the IDE that helps you
make programs that compile under Mingw32.
regards,
Nick<FontFamily><param>Times New Roman</param>
|