读书人

《c程序设计语言》里的一个翻译有关问

发布时间: 2013-11-25 13:22:27 作者: rapoo

《c程序设计语言》里的一个翻译问题
今早读c程序设计语言,盯着一段话3遍都看不出到底见不检查enum,于是坑出了英文原版,不幸英文水平一般
发现这两个词有细微差异,但是新手还是看不懂,求解!!

Enumerations provide a convenient way to associate constant values with names, an alternative to #define with the advantage that the values can be generated for you. Although variables of enum types may be declared, compilers need not check that what you store in such a variable is a valid value for the enumeration. Nevertheless, enumeration variables offer the chance of checking and so are often better than #defines. In addition, a debugger may be able to print values of enumeration variables in their symbolic form.

《c程序设计语言》里的一个翻译有关问题
[解决办法]

看下这里http://www.cnblogs.com/zj27sWizardTower/archive/2011/05/03/2035400.html

读书人网 >C语言

热点推荐