I want to download MAX6675 library.But I'm getting the following error:

In file included from Single_Temp.pde:6:C:\Users\salim\Documents\Arduino\libraries\max6675arduinolibrary/MAX6675.h:9:22: error: WProgram.h: No such file or directorySingle_Temp.pde:21:4: error: #else without #ifSingle_Temp.pde:23:4: error: #endif without #ifSingle_Temp:11: error: conflicting declaration 'int SCK'C:\Program Files\arduino-1.0.3\hardware\arduino\variants\mega/pins_arduino.h:38: error: 'SCK' has a previous declaration as 'const uint8_t SCK'Single_Temp:19: error: 'CS0' was not declared in this scope

/* Read bits 14-3 from MAX6675 for the Temp Loop for each bit reading the value and storing the final value in 'temp' */ for (int i=11; i>=0; i--){ digitalWrite(_SCK_pin,HIGH); // Set Clock to HIGH value += digitalRead(_SO_pin) << i; // Read data and add it to our variable digitalWrite(_SCK_pin,LOW); // Set Clock to LOW }

value = value/samples; // Divide the value by the number of samples to get the average

/* Keep in mind that the temp that was just read is on the digital scale from 0ËšC to 1023.75ËšC at a resolution of 2^12. We now need to convert to an actual readable temperature (this drove me nuts until I figured this out!). Now multiply by 0.25. I tried to avoid float math but it is tough to do a good conversion to ËšF. THe final value is converted to an int and returned at x10 power.