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

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -