相关疑难解决方法(0)

使用C am我认为以多个零开头的文字被认为是八进制的吗?

在下面的C代码中是用于所有这些定义的八进制文字?即使他们从多个零开始?

#define TCL_REG_BASIC       000000  /* BREs (convenience). */
#define TCL_REG_EXTENDED    000001  /* EREs. */
#define TCL_REG_ADVF        000002  /* Advanced features in EREs. */
#define TCL_REG_ADVANCED    000003  /* AREs (which are also EREs). */
#define TCL_REG_QUOTE       000004  /* No special characters, none. */
#define TCL_REG_NOCASE      000010  /* Ignore case. */
#define TCL_REG_NOSUB       000020  /* Don't care about subexpressions. */
#define TCL_REG_EXPANDED    000040  /* Expanded format, white space & comments. */
#define TCL_REG_NLSTOP      000100  /* \n doesn't match . or [^ ] …
Run Code Online (Sandbox Code Playgroud)

c literals octal

3
推荐指数
1
解决办法
174
查看次数

标签 统计

c ×1

literals ×1

octal ×1