Why does everyone say that to me, I'm just asking for advice. Is it a problem that I don't like to post my horrible coding in here? You guys need to come back down to earth and treat other people like people and not just as a nuisance that you can shove away because you know more about a subject, but I'll play along.
This is part if the program that is called by reference then returned to a control panel style menu and the parameters are set after all fan speeds are set. I know this doesn't work. I don't know why. It needs to go for 3 fans inside the comp. while checking the entered value each time. I don't get any problems during compiling, just whenever it goes to check the parameters you get the stackdump thing.
//huge long code before here.......
printf("Enter desired fan speed (0-100%):");
printf("\nYou have not entered a valid speed\n");
printf("Enter desired fan speed again:");
}while (*a1 < 0 || *a1 > 100);
printf("Enter second fan's speed:");
//more code after here.........
BTW, I'm 25, I never did homework anyway, and I'm trying to learn this on an accelerated night class after 2 jobs. Get off my back, I'm just trying to learn.