c风格字符串常常带来许多错误,是导致大量安全问题的根源。
C-style strings are a surprisingly rich source of bugs and are the root cause of many, many security problems.
表4-1列出了C 语言标准库提供的一系列处理C 风格字符串的库函数。
The Standard C library provides a set of functions, listed in Table 4.1, that operate on C-style strings.
尽管C+ +支持c风格字符串,但不应该在C+ +程序中使用这个类型。
Although C + + supports C-style strings, they should not be used by C + + programs.
应用推荐