13. How can I manipulate strings of multibyte characters? Say your program sometimes deals with English text (which fits comfortably into 8-bit chars with a bit to spare) and sometimes Continue Reading »
12. What are multibyte characters? Multibyte characters are another way to make internationalized programs easier to write. Specifically, they help support languages such as Chinese and Japanese that could never Continue Reading »
10. Why shouldn’t I start variable names with underscores? Identifier names beginning with two underscores or an underscore followed by a capital letter are reserved for use by the compiler Continue Reading »
9. What’s a signal? What do I use signals for? A signal is an exceptional condition that occurs during the execution of your program. It might be the result of Continue Reading »
7. What is a “locale”? A locale is a description of certain conventions your program might be expected to follow under certain circumstances. It’s mostly helpful to internationalize your program. Continue Reading »
6. How do I determine whether a character is numeric, alphabetic, and so on? The header file ctype.h defines various functions for determining what class a character belongs to. These Continue Reading »
4. What is the difference between a free-standing and a hosted environment? Not all C programmers write database management systems and word processors. Some write code for embedded systems, such Continue Reading »
3. How can I write functions that take a variable number of arguments? Use <stdarg.h>. This defines some macros that let your program deal with variable numbers of arguments. There’s Continue Reading »
1. Why should I use standard library functions instead of writing my own? The standard library functions have three advantages: they work, they’re efficient, and they’re portable. They work: Your Continue Reading »