'Graphics program doesn't show output?

I have 32 bit windows 7 system, in turbo c++ graphics.h is activated, my code compiled successfully, linked successfully but doesn't run and does not show any output how can I get it to work?

#include <iostream.h>
#include <graphics.h>
int main() {
    int gd = DETECT, gm;
    initgraph(&gd, &gm,"C:\TC\BGI");
    putpixel(25,25,WHITE);
    closegraph();
    return 0;
}

it is showing following: Linking ...\SOURCE\NONAMEOO.EXE



Sources

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

Source: Stack Overflow

Solution Source