Thank you millions time MrChips, I was facing a little bit of trouble initially. I was getting error initializing ST-link device. It solved by reinstalled Atollic TrueSTUDIOHere is a condensed version of the above code:
I learned to program STM32F4_Discovery Board. I tested both programs on the board. Both program's are working fine. I connected external led with current limit resistor to see it work's or not, There is no problem it's also working.
I'll try to write a few simple programs and check with board.