Function and While Help

Hello, can i put a function in a while that's in a function......
1
2
3
4
5
6
7
8
 void main(){
  while(......)
    if(.....)
         statef=1;
)
void statef(){
.....
}
Last edited on
Yes, but not like that. Line 4 should be: statef();
thank you!
Topic archived. No new replies allowed.