Well, a switch's condition can't be func2 = 1 (the switch is ON func2)
IMO switches are more trouble than they are worth
I would just use something like this
Code:
if(func1 == 1){ //remember, == is equality test, = is assignment
//do stuff if func1 is true
if(func2 == 1){
//do stuff if func1 and func2 are true
}else{
//do stuff if func1 is true and func2 is false
}
}else{
//do stuff if func1 is false
if(func2 == 1){
//do stuff if func1 is false and func2 is true
}else{
//do stuff if func1 and func2 are false
}
}