home hardware prices news articles forums photos user reviews
Go Back   Tech Support Forums - TechIMO.com > PC Hardware and Tech > Webmastering and Programming
Join TechIMO for Free!
Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read
Reply Get bargains at  »  Dealighted.com
 
Thread Tools
Currently Active Users: 2783
Discussions: 186,609, Posts: 2,227,070, Members: 230,244
Free Scan: Update Your PC's Outdated Drivers to Optimize Performance
Old July 2nd, 2008, 05:13 AM   Digg it!   #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).

liverpool0912 is offline   Reply With Quote
TechIMO.com Ads - Login or register for less ads.
How many errors does your computer have?

You no longer need to guess! This free stability scan and registry cleaner download will give you a complete diagnosis of your Windows registry, identifying errors and conflicts.

FREE instant scan


Guest, Register Free! to remove this ad and get your tech support questions answered in minutes!
Old July 2nd, 2008, 05:56 AM     #2 (permalink)
Kawaru wa yo!
 
Whir's Avatar
 
Join Date: Oct 2001
Location: Kingsford, MI
Posts: 15,943
Blog Entries: 7
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.

Whir is offline   Reply With Quote
Old 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.

ZeeOne is offline   Reply With Quote
Old 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
ZeeOne is offline   Reply With Quote
Old July 2nd, 2008, 08:34 AM     #5 (permalink)
Ultimate Member
 
Rootstonian's Avatar
 
Join Date: Mar 2005
Location: Out of my mind
Posts: 2,742
Send a message via AIM to 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!
Rootstonian is offline   Reply With Quote
Old July 2nd, 2008, 09:11 AM     #6 (permalink)
Mobile Member
 
ShuckyD's Avatar
 
Join Date: Apr 2005
Location: S. Central PA
Posts: 3,524
Quote:
Originally Posted by Rootstonian View Post
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
ShuckyD is online now   Reply With Quote
Old July 2nd, 2008, 09:14 AM     #7 (permalink)
Ultimate Member
 
Rootstonian's Avatar
 
Join Date: Mar 2005
Location: Out of my mind
Posts: 2,742
Send a message via AIM to Rootstonian
What are you laughing at Printer Boy?
Rootstonian is offline   Reply With Quote
Old 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
ZeeOne is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may post new threads
You may post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are 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
Is It Just Me? (536)
Misery Loves Company... (1849)
Why Does the MOON Grow Bigger as It.. (18)
heatsink issue (10)
New Mobo (18)
UPGRADING C/D DRIVE TO 250GB & .. (14)
1 internet. 1 house. 3 computer. ho.. (13)
Is This A Compatible Gaming PC? (18)
SSD's, RAID, and External Backup (7)
Recent Discussions
webcam sharing (0)
help! jumbled text and computer.. (1)
Scanning problem (4)
DFI socket 939 board acting up (5)
Building my first PC and need s.. (2)
32 or 64 bit vista (4)
Big problem with my PC (2)
system restore 'next' button wo.. (2)
firewall (1)
FS: Dell 6000 laptop, modded 36.. (2)
Apple iPod touch 16 GB $200 (4)
Six 28-Disc Cross Design Black .. (4)


All times are GMT -4. The time now is 12:49 PM.
TechIMO Copyright 2008 All Enthusiast, Inc.



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28