Yes, this would work: array[90] %= 100; (if you want to assign the result back to array[90])
What errors do you get? What does your code look like?
Yes, this would work: array[90] %= 100; (if you want to assign the result back to array[90])
What errors do you get? What does your code look like?
I might be wrong.
Quoted more than 1000 times (I hope).Thank you, anon. You sure know how to recognize different types of trees from quite a long way away.
And it's worth noting that the language C doesn't have ANY operations that operate on all elements in an array - you can call a function that, given the array and the size of it, can do something on the whole array by ways of doing a loop in the function, but the C language itself only sees arrays as a sequence of elements - there's no way you can actually operate on "all elements of this array" in one fell swoop.
--
Mats
Compilers can produce warnings - make the compiler programmers happy: Use them!
Please don't PM me for help - and no, I don't do help over instant messengers.