i sized the one on the right, ill try switching it
nope still gives me two single digit numbers and then some junk
Type: Posts; User: kclew
i sized the one on the right, ill try switching it
nope still gives me two single digit numbers and then some junk
so how should i approach this, my max matrix is 4 so i put that in the 2nd bracket, but it still gives me these off numbers
but that is part of the my program, i'm supposed to input how many columns and rows into the function and from there it supposed to allow me to add and everything, which is not working
ya and it didn't give me any, i could just run it
so my biggest problem right now is that it wont output the right numbers,
i ran the add function and the output was
4 -45685678
2 -46893778
no i was able to compile it and it worked for the first function
sorry bout that, but i figured out how to do it
alright heres my code
#include<stdio.h>
void showmatrix(int matrix[][], int row, int column)
{
int i, j ;
int A[row][column];
i dont think i can use those because they're all windows based, and im using a mac
could u further explain
i'm using this unix server for my college class, i kno its accessed through a ssh and then a user name then url
by the way i got the replace one to work, now it one to the addition, which is doing...
alright so i'm trying to make a matrix program that replaces, adds, multiplies and transposes matrices
as of right now i'm having trouble printing it out after i run a function
it goes something...