Free Scan: Update Your PC's Outdated Drivers to Optimize Performance
July 2nd, 2008, 05:13 AM
|
#1 (permalink)
| | Junior Member
Join Date: Jul 2008
Posts: 1
| Help urgent C++ programming
Write a function that takes in a 2D array and display a graphical plot of the data. The graph should be Strength (Y-axis) vs Time (X-axis). |
| |
July 2nd, 2008, 05:56 AM
|
#2 (permalink)
| | Kawaru wa yo!
Join Date: Oct 2001 Location: Kingsford, MI
Posts: 15,943
|
This sounds like a homework assignment. Shouldn't you ask the instructor for help?
You can probably find the answer using google if you put some effort into it. |
| |
July 2nd, 2008, 07:44 AM
|
#3 (permalink)
| | Member
Join Date: Jun 2008 Location: South Africa
Posts: 51
|  function as in method?
just use two for loops (if C++ has that) its quite easy then. But would pobably be best to go ask your instructor, to make sure you understand it for the future. |
| |
July 2nd, 2008, 07:45 AM
|
#4 (permalink)
| | Member
Join Date: Jun 2008 Location: South Africa
Posts: 51
|
o wait PLOT! that would be a bit more complex... lol either way go ask instructor |
| |
July 2nd, 2008, 08:34 AM
|
#5 (permalink)
| | Ultimate Member
Join Date: Mar 2005 Location: Out of my mind
Posts: 2,742
|
Sounds like a fun assignment, but you won't get folks here to do your work
Your plot, however, may look like this (or some such thing): Code: *
*
* * *
* * *
* * * * * Which is really an array in itself if you think about it
Have fun! |
| |
July 2nd, 2008, 09:11 AM
|
#6 (permalink)
| | Mobile Member
Join Date: Apr 2005 Location: S. Central PA
Posts: 3,524
| Quote:
Originally Posted by Rootstonian Sounds like a fun assignment, but you won't get folks here to do your work
Your plot, however, may look like this (or some such thing): Code: *
*
* * *
* * *
* * * * * Which is really an array in itself if you think about it
Have fun! | 
__________________ Thinkpad T61 14.1 wide | WinXP Pro | Intel C2D T8300 2.4ghz CPU | 3GB DDR2
AGN WiFi, BT, WWAN | 256mb NVS140 graphics | 160GB 7200RPM HDD |
| |
July 2nd, 2008, 09:14 AM
|
#7 (permalink)
| | Ultimate Member
Join Date: Mar 2005 Location: Out of my mind
Posts: 2,742
|
What are you laughing at Printer Boy?  |
| |
July 2nd, 2008, 09:18 AM
|
#8 (permalink)
| | Member
Join Date: Jun 2008 Location: South Africa
Posts: 51
|
lol yeah thats probably what it would look like  unless you meant more high tech. But its quite simple... just google it or look in a text book. From there you'd be able to figure out a way using arrays. It might take more than two arrays though... depending on how you do it... G'LUCk |
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | |
Posting Rules
| You may post new threads You may post replies You may not post attachments You may not edit your posts HTML code is Off | | |
Similar Threads | | Thread | Thread Starter | Forum | Replies | Last Post | | c++ programming | one2adore30 | Webmastering and Programming | 17 | August 31st, 2005 08:29 PM | | Urgent Urgent Help Requested!!! | OutlawEcom | General Tech Discussion | 6 | January 17th, 2005 06:03 PM | | Programming | quantumlight | Webmastering and Programming | 22 | September 10th, 2004 07:38 PM | | Programming | korgul | Webmastering and Programming | 22 | April 23rd, 2002 07:55 PM | | Most Active Discussions | | | | | Recent Discussions  | | | | | |