i knew that from the beginning..but how do i with the lack of a better term convert Fraction arr[i][i] to int?
Type: Posts; User: utoots
i knew that from the beginning..but how do i with the lack of a better term convert Fraction arr[i][i] to int?
Fraction arr[10][11];
if (arr[i][i] == 0)
that part of my code doesn't work...after i is initialized. I'm just wondering why.
these are two of my methods in my class Fraction
im supposed to send a data file containing values that look like this
3
2 3 1 11
4 -2 3 9
3 5 -3 4
the first value is put into variable N and the other numbers are put...
im trying to sort an array with an Array class. here's my code...i picked up some code from a website and stuck it into my sort method...i don't know how else to do it though...note that the sort...
he instructed us to put those data members. i guess it would help us understand how classes work. he also wanted to get the point across that we can make arrElem to be double type..and i know its...
this is my output after i changed arr[arrElems] to arr[i]
Array ar1 contains 80 values. <-- it reads correctly in the other methods because the filename was sent from int main to the parameter of...
(LOOK AT THE FUNCTION ALL THE WAY AT THE BOTTOM OF THE CODE) i'm on giving my whole code, but just the class and the method. im having a problem with the last method printArray. My professor asked...
We are starting "classes" now in our introductory programming class. I'm having a problem sending information from int main() to the point class here's my code. This is just a simple lab where one...