'How to use graphics.h in windows tdm gcc compiler?

I am using 64 bit windows 7 pc and i recently installed tdm gcc compiler. Initially i was working on turboc so my program is created in graphics.h. But now i want to use tdm-gcc compiler and it is showing an error as follows

sstream: no such file or directory.
#include<sstream>       //provides std ostringstream


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source