Running graphics programs in turboc in windows is no big deal. But in Ubuntu, gcc does not come pre-installed with the graphic libraries. You can install the necessary packages however, and do your graphics programs in ubuntu as well. Just follow these steps:
1. Open Terminal and type sudo apt-get install build-essential to install all necessary compiler tools.



Tutorials
