TC74 temperature sensor

Ok, so I've read through the tutorial on libraries and examined the code of several to see how things are done and now I've written a simple library to handle reading from multiple TC74 sensors. The problem is that I'm getting compilation errors under Arduino IDE 1.0 and I'm not sure what to do. Not that I'm expecting anyone to fix the code for me. I need to learn this. What I need is a little nudge in the right direction.

First, the sample sketch that prints the current temperature value to the serial monitor every few seconds:

#include <Wire.h>

// Test TC74 library
#include <TC74.h>

TC74 sensor(0);  //Data object for sensor

void setup() {
  Serial.begin(9600);
}

void loop() {
  while(1) {
    Serial.println(sensor.read());
    delay(5000);
  }
}

Since I'm not sure on the maximum posting length the header and cpp files will follow.