I'm very new to this. I don't know much about computers at all. I'm only doing this stuff cuz it's one of my classes(although I find it very interesting).
I'm using Code Blocks 10.05 (it's what they have at school) for Windows 7. My compiler is GNU GCC Compiler. Wasn't sure whether to post here or the Windows thread.
Anyway, I keep getting a window popping up saying the program has stopped working and windows is searching for a solution. It happens when I ask the user to input a number.
This is the start of my program and it gives me the error as soon as I enter the first number:
int it = 0;
float temp, mean, max = -100000, min = 100000, sum;
printf("Enter first temperature: ");
printf("Enter next temperature: ");
It'll run programs that don't involve user inputs.
I posted this problem at the Code Blocks forum and one guy told me to turn on Full COmpiler Logging and sent me a link to this site, the other guy had a hissy fit because my problem didn't meet his wonderous standards and locked my post so no one else could help or reply. i had some words for him...
Any help will be much appreciated! Thanks