Different programming languages have different graphics library. So question is in which language do you want to write graphic application?
PS: OnlineGDB supports only console based application for now. It doesn't support graphics based programming yet.