D
D
Can a switch statement have an arithmetic attribute in it. For example
switch (x / 10)
{
case a: place your statements here
}
Thanks
switch (x / 10)
{
case a: place your statements here
}
Thanks
Can a switch statement have an arithmetic attribute in it. For example
switch (x / 10)
{
case a: place your statements here
}
D said:Can a switch statement have an arithmetic attribute in it. For example
switch (x / 10)
{
case a: place your statements here
}
D said:Can a switch statement have an arithmetic attribute in it. For
example switch (x / 10)
{
case a: place your statements here
}
Rob said:D wrote in in
comp.lang.c++:
No idea what you mean by "arithmetic attribute in it", if you mean
a non-compiletime-constant, then no.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.