multiplying values that are stored in the array

Please support our C++ advertiser: Intel Parallel Studio Home
Reply

Join Date: Aug 2008
Posts: 16
Reputation: STUDENT#101 is an unknown quantity at this point 
Solved Threads: 1
STUDENT#101 STUDENT#101 is offline Offline
Newbie Poster

multiplying values that are stored in the array

 
0
  #1
Oct 6th, 2008
hi all!

how do I multipluy values inside the array I have tied the following but the compiler is giving me a error

double a=(h[0]*b[1])+......
Reply With Quote Quick reply to this message  
Join Date: Mar 2008
Posts: 672
Reputation: Sky Diploma is a splendid one to behold Sky Diploma is a splendid one to behold Sky Diploma is a splendid one to behold Sky Diploma is a splendid one to behold Sky Diploma is a splendid one to behold Sky Diploma is a splendid one to behold 
Solved Threads: 99
Sky Diploma's Avatar
Sky Diploma Sky Diploma is offline Offline
Practically a Master Poster

Re: multiplying values that are stored in the array

 
0
  #2
Oct 6th, 2008
Please Post Your Code That you have worked on and then we can tell you whats wrong.

You say that you have tried, So you will need to show the effort that you have put in,
1. Please Mark Your Thread as Solved After Getting Your Answers.
2. Please Use CODE TAGS .
Reply With Quote Quick reply to this message  
Join Date: Mar 2008
Posts: 89
Reputation: bhoot_jb is on a distinguished road 
Solved Threads: 2
bhoot_jb bhoot_jb is offline Offline
Junior Poster in Training

Re: multiplying values that are stored in the array

 
0
  #3
Oct 6th, 2008
Your information isnt enough, I guess. Though your question seems simple enough, this line depicts somthing else which i dont know :
> double a=(h[0]*b[1])+......

First of all, clear your question, or post some code.
Bhoot
Reply With Quote Quick reply to this message  
Join Date: Apr 2008
Posts: 670
Reputation: Freaky_Chris is a jewel in the rough Freaky_Chris is a jewel in the rough Freaky_Chris is a jewel in the rough 
Solved Threads: 113
Freaky_Chris's Avatar
Freaky_Chris Freaky_Chris is offline Offline
Practically a Master Poster

Re: multiplying values that are stored in the array

 
0
  #4
Oct 6th, 2008
More information would be nice but im kinda guessing it a mere spelling error should it be

double a=(h[0]*h[1])+......

Thats all i can guess from what you provided

Chris
Knowledge is power -- But experience is everything
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the C++ Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC