hi administrator,
I'm a beginner in c++.I need to draw a graph(x vs y type).I used graphics.h and ended up with a very primitive version of a graph.The graph appears like a scribbling in the top left corner of the screen.I don't know how to draw the x and y axes or how to centre my graph.In fact I don't know even the abc of graphics.I've tried online tutorials but they were way beyond my head.can u recommend a suitable link or a book where i can learn about this?I don't have much time.I've got to finish the graph in 2 weeks.Please help.

Recommended Answers

All 2 Replies

Unfortunately, graphics.h is a rather old library, so tutorials covering it are sparse. Your best bet would be to search google for tutorials that mention graphics.h. Turbo C++ might also offer example code in the help files.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.