Using a temperature sensor I2C. Where do registers come into code?

Thanks very much I'll post back with my finished code later on.

I appreciate your patience with a useless mechanical engineer currently getting lost in the world of programming