0

Hello, I need to make a x^2 curve in C++. It has to be horizontal to make it easier, not vertical. I have no idea where to start, can someone put me in the right direction? Thank you.

2
Contributors
4
Replies
5
Views
10 Years
Discussion Span
Last Post by snoeflake
0

what compiler and what os? Never heard of a horizontal chart. Looks something like this:

4 |
3 |
2 |
1 |
0 __________________________________
   1   2   3   4   5   6   7

You could use something called Maple

Attachments img140.gif 2.01 KB
0

Sorry, I'm using MS Visual Studio 6.0. I need to create my own axis. I can't use anything but the regular libraries. Thanks.

0

Then use win32 api functions or MFC. You will probably want to read this tutorial. Chapter 13 covers basic drawing functions.

Not draw.. just ouput what looks to be an x^2 curve except horizontal, not vertical.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.