|
-
March 22nd, 2006, 10:28 PM
#1
working with an array that is a float
/*hi the answer to this is proberly really easy
i am trying to multiply a bit of data from the array by an integer*/
float data[40][7] = {
{1, 20, 1.6, .873, 111, .00608}, /*.....etc*/
deadload = t*(data[j][3]) + c*(data[i][3]);
/*i, j, c and t are all integers deadload is a float the program doesn't error but the output is addresses i think*/
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|