[ LiB ] |
On the one hand, C++ is great because it's so flexible; on the other hand, since it is so flexible, it doesn't have much built into the basic libraries. C++ is sorely lacking in the areas of both string processing and precision timing. (The base C++ timer uses a resolution of one second, which is almost useless for game programmers.) Sure, C++ has come a long way from standard C strings (I'm sure you just shudderedI did), but it still has a long way to go before it is even half as useful as some of the more robust string-based languages, such as Perl.
In this chapter, you will learn to:
Create multiplatform 64-bit integers
Create multiplatform time functions
Create flexible timer objects
Use C++ strings
Extend the functionality of C++ strings
Log errors and other events
[ LiB ] |