Hi, i have a project using basic inheritance to output shapes, but i would like to make it draw the shapes aswell.
Does anyone know where i can find tutorials on how to draw shapes in dos using C++?
depends on the operating system if you want GUI shapes what look like the shape should. But if you are a beginner that is way to far advanced for you. But if you're looking for punishment, you can use Windows GDI functions
yes rectangles are pretty simple, arcs and circles are much more difficult and don't look good because of squared-off corners.
you can check out graphics.h that is supported by Boaland's compilers. But that compiler may not support most current c++ standards that you may be studying.
yes rectangles are pretty simple, arcs and circles are much more difficult and don't look good because of squared-off corners.
you can check out graphics.h that is supported by Boaland's compilers. But that compiler may not support most current c++ standards that you may be studying.
how do i find out about it?
dont think the help is working on my comp...
is the file in the visual c++ libries?
thanks
> this doesnt work.......there is no return....no mention of std???
Did you try it, before bumping this dead thread?
If so, which ancient compiler did you use (probably some turboc fossil no doubt).