hi,
May i know how can i employ VC++ to plot a 2D graph (x and y axis)
thanks
wayne
hi,
May i know how can i employ VC++ to plot a 2D graph (x and y axis)
thanks
wayne
you'll probably be using ascii graphics.. and you'll probably want to populate a 2D array of x,y coordinates. cin >> input from the user. perform calculations. cout << the graph however you want it to be displayed.
- "Problem Solving C++, The Object of Programming" -Walter Savitch
- "Data Structures and Other Objects using C++" -Walter Savitch
- "Assembly Language for Intel-Based Computers" -Kip Irvine
- "Programming Windows, 5th edition" -Charles Petzold
- "Visual C++ MFC Programming by Example" -John E. Swanke
- "Network Programming Windows" -Jones/Ohlund
- "Sams Teach Yourself Game Programming in 24 Hours" -Michael Morrison
- "Mathmatics for 3D Game Programming & Computer Graphics" -Eric Lengyel
thanks for the info.
how can i output the graph to b display? like wat command shld i b using??
thanks
Here is some example code: http://cboard.cprogramming.com/showt...ight=bar+graph
- "Problem Solving C++, The Object of Programming" -Walter Savitch
- "Data Structures and Other Objects using C++" -Walter Savitch
- "Assembly Language for Intel-Based Computers" -Kip Irvine
- "Programming Windows, 5th edition" -Charles Petzold
- "Visual C++ MFC Programming by Example" -John E. Swanke
- "Network Programming Windows" -Jones/Ohlund
- "Sams Teach Yourself Game Programming in 24 Hours" -Michael Morrison
- "Mathmatics for 3D Game Programming & Computer Graphics" -Eric Lengyel