C++ vs Java for simple graphics -


i want develop program topologically sorts vertices of directed graph way practice of graphing data structures , algorithms i'm learning in algorithms class. make things bit more interesting, want add graphics display results of topological sort, in image b) below.

enter image description here

i'm familiar basics of both c++ , java, i'll choosing 1 of languages work in. first, pros , cons of working in each language project this? second, kind of libraries should @ implement these kinds of simple graphic? know there lots of choices out there, i'd choose might use again in future , isn't total overkill task this.

thanks

i prefer java on c++. yes c++ core java provides on 30,000 classes , interfaces. graphics class in awt package.

graphics class abstract base class graphics contexts allow application draw onto components realized on various devices, onto off-screen images.

the graphics class plays 2 different related roles within abstract windowing toolkit (awt). first, maintains graphics context, consists of of information affect outcome of graphics operation. includes drawing color, font, , location , dimensions of clipping rectangle (the region in graphics can drawn). more importantly, graphics context defines destination graphics operations discussed (destinations include components , images).

all best


Comments

Popular posts from this blog

twig - Using Twigbridge in a Laravel 5.1 Package -

Kivy: Swiping (Carousel & ScreenManager) -

jdbc - Not able to establish database connection in eclipse -