The Eclipse IDE has a serial monitor where you can see the output of your program, the same goes for the Arduino IDE and the Intel XDK. If you want to see examples of temperature sensors I would suggest you to check the available UPM sensors. As stated in the Eclipse User Guide for C/C++, the UPM sensor library is a repository of sensor representations, written in C++ and utilizing MRAA (MRAA would be an input/output library that works as a translator between the GPIOs and the pins available on the Intel Galileo board). You can check the repository following this link http://iotdk.intel.com/docs/master/upm/. In the UPM Libraries section you’ll find examples for different purposes.
If you have previous experience with the Intel XDK or if you’re willing to give it a try, this IDE comes with a lot of templates for different sensors that you might find helpful.