Expert C Programming: Deep C Secrets
SunSoft Press, 1994 - 353 strani
Written for experienced C programmers who want to quickly pick up some of the insights and techniques of experts and master the fine arts of ANSI C, this volume passes on the wisdom of a highly experienced C compiler writer and his colleagues to help programmers reach new heights, and avoid common software pitfalls along the way. Covers topics that many C Programmers find confusing and features one of the best introductions to C++ and the rationale behind it.
Zadetki 1–3 od 50
call localtime ( ) to convert it to a struct tm , and then finally call the strftime ( )
string - from - time function to convert the struct tm time to an ASCII string in local
format . Unhappily , there was a bug that showed up as a corrupted date string .
Both arrays and pointers can be initialized with a literal string in their definition .
Although these cases look the same , different things are happening . A pointer
definition does not allocate space for what's pointed at , only for the pointer ,
you need to store 50 strings which can vary in length up to 255 characters , you
could declare the following two ... A Ragged String Array you declare an array of
pointers to strings , and allocate memory for these strings as needed , you will be
Mnenja - Napišite recenzijo
LibraryThing ReviewUporabnikova ocena - kalafjj - LibraryThing
A very enjoyable read. Not only will you learn aspects of C in great detail (the section on pointers vs. array is excellent), but the author writes in a witty manner I haven't typically found in programming books. (The style reminded me a bit of Programming Perl by Larry Wall.) Celotno mnenje
The Structure of the ANSI C Standard
How Quiet is a Quiet Change?
Its Not a Bug Its a Language Feature
15 preostalih delov ni prikazanih