+ 3
About "switch" and "if" functions in C++.
Can I use "switch" function inside if-statement in C++?
4 Answers
+ 9
if (isNum(num))
{
switch (num)
{
case 1: // do something
// more cases
}
}
// valid.
+ 6
Yes!
+ 2
Thank You for reply! ^_^ Helped me so much. >~<
+ 1
have are you