Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search
Advanced Search
Forums
Product Launch
Updates
Today's Posts
Member List
Calendar
Home
Advanced Search
Search Results
Search Result
Collapse
Search Results:
2 results in 0.0022 seconds.
Keywords
Search in titles only
Members
Started posts only
Search
Tags
Search
constant
Sort By
Relevance
Title
Members
Date - started post
Date - last update
Replies
Reactions
Event Start
Trending
Order
Descending
Ascending
tanvalley
started a topic
integer constant expression
in
C
Jun 9 '12, 05:28 PM
integer constant expression
why is
Code:
("abcd"[1])
not an integer constant expression?
See more
|
Go to post
Harry2o
started a topic
const int still not enough for case statement?
in
C
Oct 13 '09, 09:54 AM
const int still not enough for case statement?
I stumbled upon the gcc error "case label does not reduce to an integer constant" when trying to use a
const int
variable in a case statement.
Basically what is discussed in this thread:
http://bytes.com/topic/c/answers/617...ant-expression
Nevertheless all the provided solutions don't work for me (except using
#define
apparently).
If I just have a simple program like:
...
See more
|
Go to post
Previous
template
Next
Working...
Yes
No
OK
OK
Cancel
👍
👎
☕