For basic 2D drawings, there are a few options that I can think of. First, if you don't need to have much of a Graphical User Interface, Simple DirectMedia Layer (SDL) is quite easy to use and allows you to draw simple shapes (circles, lines, rectangles, text, etc.). Second, if you want to make it part of a GUI, you can use Qt, which has a QCanvas component that can draw 2D shapes and other stuff like that. I'm sure that MFC and wxWidget, two other GUI tools, also have similar components. All of the above can support a OpenGL or DirectX window, if you need 3D or better 2D drawing capabilities. There are also plenty of domain-specific visualization libraries that I'm not familiar with.
@daviddoria. i just want to use simple graphics like in turbo c e.g draw line,circle,rectangle etc... turbo c graphics.h is not working on my pc for whatever reason...and there is no directory in vc to include graphics like headerfile.in robert lafore book i have read that include msoftcon in your project is an alternate of graphics.h...but how can i include this header file i dont know ....kindly brief me if you have any information like this....or tell me how can i include msoftcon.h in visual studio 2005...thanks
To get something with similar function names and parameters try http://codecutter.org/tools/winbgim/. It's terribly outdated and you'd probably have to rebuild it with VC++ (I haven't used it with either compiler so I don't know).
Otherwise, David's and Mike's solutions are probably one of your better options.
If you search around in these forums, you might find some patch fixes to get it to work under your current environment, else downgrade your OS.
I have a 2d matrix with dimension (3, n) called A, I want to calculate the normalization and cross product of two arrays (b,z) (see the code please) for each column (for the first column, then the second one and so on).
the function that I created to find the ...
Hi. I have a form with list box : lst_product, datagridview : grd_order and button: btn_addline. lst_product has a list of product ids selected from database (MS Acess 2013) , grd_order is by default empty except for 2 headers and btn_addline adds rows to grd_order.