Page 4 of 4 FirstFirst ... 234
Results 31 to 37 of 37

Thread: Program to do matrices

  1. #31
    Join Date
    Sep 2004
    Posts
    1,905
    Rep Power
    21

    Default

    cause you have
    Code:
    void multiplication()
    const int _M1ROWS = 2;
    const int _M1COLS = 3;
    const int _M2ROWS = 3;
    const int _M2COLS = 2;
    
    int main()
    {
    at the bottom of the page

    x declared multiplication after using it
    x two mains

    You need to structure 'what is a matrix' so that you can pass that object (data type) to functions

    Imagine that you have a web page where you could input two matrices. Then select an operation on them when they are filled out. The necessary code to do these operations are the same as in the console, once the matrix objects are the same, and there is nothing to cause the data of a matrix in a web page to be different from that in a console. The difference in the console and web page can be set aside in the user interface. My point is to separate the user interface code from the calculations (instead of printing to the screen, write to an array; instead of scanning input, read from an array (or matrix object))

    You were not meant to copy the code exactly... Dude get some rest, then run some debug with a friend on it
    Let's act on what we agree on now, and argue later on what we don't.
    Black men leave Barbeque alone if Barbeque don't trouble you

  2. #32
    Join Date
    Sep 2004
    Posts
    1,905
    Rep Power
    21

    Default

    Work on a function like this

    Code:
    //C = A x B
    struct Matrix Multiply(struct Matrix A, struct Matrix B) //Returns the product of A and B
    //or
    //struct Matrix Multiply(const struct Matrix & A, const struct Matrix & B)
    and this
    Code:
    Display(struct Matrix M) //Display matrix in console
    These functions are portable and use the matrix object as long as it does not change in concept
    Let's act on what we agree on now, and argue later on what we don't.
    Black men leave Barbeque alone if Barbeque don't trouble you

  3. #33
    Join Date
    Dec 2004
    Posts
    476
    Rep Power
    0

    Default

    no rest for me the program should be handed in tommorow and only the student who failed programming last year and are doing it over have the program done as for the 1st years none of us have the operation function.
    WHY PAY WHEN YOU CAN GET IT FREE!!!!!

  4. #34
    Join Date
    Dec 2004
    Posts
    476
    Rep Power
    0

    Default

    ok again i went into typing overdrive and i came up with the program.It runs smoothly THANK GOD!!!!!
    Code:
    #include<stdio.h>
    #include<stdlib.h>
    #include<conio.h>
    #include<math.h>
    #include<ctype.h>
    
    
    # define ROW_MAX 5
    # define Column_MAX 5
    
    int rows=0,size=0;
    int columns =0;
    int arrayA[ROW_MAX][Column_MAX];
    int arrayB[ROW_MAX][Column_MAX];
    int arrayC[ROW_MAX][Column_MAX];
    
    
    void display(void);
    void populate(void);
    void main_menu(void);
    void operations();
    void addition();
    void subtraction();
    void scalar();
    void multiplication();
    
    
    void main()
    {
    
    main_menu();
    
    }
    
    
    void main_menu(void)
    {
    	char choice;
    	do
    	{
    
    	printf("\tA.   Populate the matrix\n");
    	printf("\tB.   Display the matrix\n");
    	printf("\tC.   Perform operation\n");
    	printf("\tD.   Credits\n");
    	printf("\tE.   Exit Program\n\n\n");
    	printf("Please enter your choice: ");
    	scanf(" %c",&choice);
    	choice = toupper(choice);
        
    
    	switch(choice)
    	{
    	case 'A':
    		{  
    			populate();
    		   	break;
    		}
    
    	case 'B':
    
    		{
    			display();
    			break;
    		}
    
    	case 'C':
    	
    		{
    			operations();
    
    			break;
    		}
    
    	case 'D':
    
    		{
    			printf("Done by Akeem Gordon CMCS 0506476 and Marvin Meritt CMCS 0500032\n");
    			printf("Marvin Meritt did the main menu section and the displaying of the matrix while Akeem Gordon did the Operations section and Population Section\n\n\n\n");
    			break;
    		}
    
    	case 'E':
    		{
    			break;
    		}
    
        default:
    		{
    		printf("Please choose a letter from A-E,You enterd a letter that is not accepted\n");
    		}
    	}
    	}while(choice !=0);
    }
    
    void populate(void)
    {
    	 
    	 int  i,j;
    
    	do
    	{
    	
    	 printf("Please remember the number of the matrix as it will be need for the operations section, i.e. your first matrix populated will be 1, you second matrix populated will be 2, and so on.\n");	
    	 printf("Enter the number of matrix you need\n");
    	 scanf("%d",&size);
    
    	}while(size <0 || size >5);
    
    	 printf("Enter the number of row and coloums of matrix\n");
    	
    	 scanf("%d%d",&rows,&columns);
    
    
    	if(size > 0 && size <= 5 )
    	{
      	 printf("\tA.   Add values to matrix A\n");
    		for(i=0; i < rows; i++)
    		{
    			for(j=0;j < columns; j++)
    			{
    				scanf("%d",&arrayA[i][j]);
    			}
    		}
    	}
    
    	
    	if(size>1 && size <=5)
    	{
      	 printf("\tA.   Add values to matrix B\n");
    		for(i=0; i < rows; i++)
    		{
    			for(j=0;j < columns; j++)
    			{
    				scanf("%d",&arrayB[i][j]);
    			}
    		}
    	}
    
    	
    	if(size>2 && size <=5)
    	{
      	 printf("\tA.   Add values to matrix C\n");
    		for(i=0; i < rows; i++)
    		{
    			for(j=0;j < columns; j++)
    			{
    				scanf("%d",&arrayC[i][j]);
    			}
    		}
    	}
    	
    	
    
    }
    
    
    void display(void)
    {
    	int i, j;
    	
    	if(size > 0 && size <= 5 )
    	{
      	 printf("\t  Add values to matrix A\n");
    		for(i=0; i < rows; i++)
    		{
    			for(j=0;j < columns; j++)
    			{
    				printf("%d ",arrayA[i][j]);
    			}
    				printf("\n");
    		}
    	}
    	printf("\n");
    	
    	if(size>1 && size <=5)
    	{
      	 printf("\t  values to matrix B\n");
    		for(i=0; i < rows; i++)
    		{
    			for(j=0;j < columns; j++)
    			{
    					printf("%d ",arrayB[i][j]);
    			}
    			printf("\n");
    		}
    	}
    	printf("\n");
    	
    	if(size>2 && size <=5)
    	{
      	 printf("\tValues stores matrix C\n");
    		for(i=0; i < rows; i++)
    		{
    			for(j=0;j < columns; j++)
    			{
    					printf("%d ",arrayC[i][j]);
    			}
    				printf("\n");
    		}
    	}
    		printf("\n");
    
    
    }
    
    void operations()
    {
    	int choice=0;
    
    	do
    	{
    
    	printf("\t1	  Scalar\n");
    	printf("\t2   Addition\n");
    	printf("\t3   Substraction\n");
    	printf("\t4   Multiplication\n");
    	printf("\t5   Exit Program\n\n\n");
    	
    	scanf(" %d",&choice);
    	
    		switch(choice)
    		{
    				case 1: scalar();
    
    					break;
    				case 2:addition();
    
    					break;
    				case 3:subtraction();
    
    					break;
    
    				case 4:multiplication();
    
    					break;
    				
    				default:
    					{
    					printf("Please choose a letter from A-E,You enterd a letter that is not accepted\n");
    					}
    		}
    	}while(choice !=0);
    
    
    }
    void addition()
    {
    	int i,j;
    	int result[5][5]={0};
    	int choice1, choice2;
    	
    	printf("This will only work if matrices were stored in the populate section of the program\n");
    	printf("Enter the two matrix you need to use\n");
    	scanf("%d %d", &choice1,&choice2);
    
    	if(choice1 == 1 && choice2 ==2)
    	{
    		for(i=0; i < rows; i++)
    		{
    			for(j=0;j < columns; j++)
    			{
    					printf("%d ",result[i][j] = arrayA[i][j] + arrayB[i][j]);
    			}
    			printf("\n");
    				
    		}
    	}
    
    		
    
    	
    	if(choice1 == 1 && choice2 ==3)
    	{
    		for(i=0; i < rows; i++)
    		{
    			for(j=0;j < columns; j++)
    			{
    				printf("%d ",result[i][j] = arrayA[i][j] + arrayC[i][j]);
    			}
    			printf("\n");
    				
    		}
    	}
    
    
    	if(choice1 == 2 && choice2 ==3)
    	{	
    		for(i=0; i < rows; i++)
    		{
    			for(j=0;j < columns; j++)
    			{
    				result[i][j] = arrayC[i][j] + arrayB[i][j];
    			}
    				
    		}
    	}
    	
    }
    void subtraction()
    {
    	int i,j;
    	int result[5][5]={0};
    	int choice1, choice2;
    
    	printf("This will only work if matrices were stored in the populate section of the program\n");
    	printf("Enter the two matrix you need to use\n");
    	scanf("%d %d", &choice1,&choice2);
    
    	if(choice1 == 1 && choice2 ==2)
    	{
    		for(i=0; i < rows; i++)
    		{
    			for(j=0;j < columns; j++)
    			{
    					printf("%d ",result[i][j] = arrayA[i][j] - arrayB[i][j]);
    			}
    			printf("\n");
    				
    		}
    	}
    
    		
    
    	
    	if(choice1 == 1 && choice2 ==3)
    	{
    		for(i=0; i < rows; i++)
    		{
    			for(j=0;j < columns; j++)
    			{
    				printf("%d ",result[i][j] = arrayA[i][j] - arrayC[i][j]);
    			}
    			printf("\n");
    				
    		}
    	}
    
    
    	if(choice1 == 2 && choice2 ==3)
    	{	
    		for(i=0; i < rows; i++)
    		{
    			for(j=0;j < columns; j++)
    			{
    				result[i][j] = arrayC[i][j] - arrayB[i][j];
    			}
    				
    		}
    	}
    
    }
    void multiplication()
    {
    	int i,j;
    	int result[5][5]={0};
    	int choice1, choice2;
    
    	printf("This will only work if matrices were stored in the populate section of the program\n");
    	printf("Enter the two matrix you need to use\n");
    	scanf("%d %d", &choice1,&choice2);
    
    	if(choice1 == 1 && choice2 ==2)
    	{
    		for(i=0; i < rows; i++)
    		{
    			for(j=0;j < columns; j++)
    			{
    					
    					printf("%d ",result[i][j] = arrayA[i][j] * arrayB[i][j]);
    			}
    			printf("\n");
    				
    		}
    	}
    
    		
    
    	
    	if(choice1 == 1 && choice2 ==3)
    	{
    		for(i=0; i < rows; i++)
    		{
    			for(j=0;j < columns; j++)
    			{
    				
    				printf("%d ",result[i][j] = arrayA[i][j] * arrayC[i][j]);
    			}
    			printf("\n");
    				
    		}
    	}
    
    
    	if(choice1 == 2 && choice2 ==3)
    	{	
    		for(i=0; i < rows; i++)
    		{
    			for(j=0;j < columns; j++)
    			{
    				result[i][j] = arrayC[i][j] * arrayB[i][j];
    			}
    				
    		}
    	}
    
    }
    void scalar()
    {
    	int i,j;
    	int result[5][5]={0};
    	int choice1, scaleFactor;
    
    	printf("This will only work if matrices were stored in the populate section of the program\n");
    	printf("Enter the two matrix you need to SCALE  and scale factor\n");
    	scanf("%d %d", &choice1,&scaleFactor);
    
    	if(choice1 == 1 )
    	{
    		for(i=0; i < rows; i++)
    		{
    			for(j=0;j < columns; j++)
    			{
    					printf("%d ",arrayA[i][j] * scaleFactor);
    			}
    			printf("\n");
    				
    		}
    	}
    
    		
    	if(choice1 == 2 )
    	{
    		for(i=0; i < rows; i++)
    		{
    			for(j=0;j < columns; j++)
    			{
    				printf("%d ",arrayB[i][j] * scaleFactor);
    			}
    			printf("\n");
    				
    		}
    	}
    
    
    	if(choice1 == 3)
    	{	
    		for(i=0; i < rows; i++)
    		{
    			for(j=0;j < columns; j++)
    			{
    					printf("%d ",arrayC[i][j] * scaleFactor);
    			}
    				
    		}
    	}
    
    }
    my only problem now is that when i press e for the program to escape it wont. can anyone help.
    WHY PAY WHEN YOU CAN GET IT FREE!!!!!

  5. #35
    Join Date
    Sep 2004
    Posts
    1,905
    Rep Power
    21

    Default

    while(choice !=0);

    to

    while(choice !='E');
    Let's act on what we agree on now, and argue later on what we don't.
    Black men leave Barbeque alone if Barbeque don't trouble you

  6. #36
    Join Date
    Sep 2003
    Posts
    603
    Rep Power
    0

    Default

    Quote Originally Posted by akoo
    ok again i went into typing overdrive and i came up with the program.It runs smoothly THANK GOD!!!!!
    Code:
    #include<stdio.h>
    #include<stdlib.h>
    #include<conio.h>
    #include<math.h>
    #include<ctype.h>
    
    
    # define ROW_MAX 5
    # define Column_MAX 5
    
    int rows=0,size=0;
    int columns =0;
    int arrayA[ROW_MAX][Column_MAX];
    int arrayB[ROW_MAX][Column_MAX];
    int arrayC[ROW_MAX][Column_MAX];
    
    
    void display(void);
    void populate(void);
    void main_menu(void);
    void operations();
    void addition();
    void subtraction();
    void scalar();
    void multiplication();
    
    
    void main()
    {
    
    main_menu();
    
    }
    
    
    void main_menu(void)
    {
    	char choice;
    	do
    	{
    
    	printf("\tA.   Populate the matrix\n");
    	printf("\tB.   Display the matrix\n");
    	printf("\tC.   Perform operation\n");
    	printf("\tD.   Credits\n");
    	printf("\tE.   Exit Program\n\n\n");
    	printf("Please enter your choice: ");
    	scanf(" %c",&choice);
    	choice = toupper(choice);
        
    
    	switch(choice)
    	{
    	case 'A':
    		{  
    			populate();
    		   	break;
    		}
    
    	case 'B':
    
    		{
    			display();
    			break;
    		}
    
    	case 'C':
    	
    		{
    			operations();
    
    			break;
    		}
    
    	case 'D':
    
    		{
    			printf("Done by Akeem Gordon CMCS 0506476 and Marvin Meritt CMCS 0500032\n");
    			printf("Marvin Meritt did the main menu section and the displaying of the matrix while Akeem Gordon did the Operations section and Population Section\n\n\n\n");
    			break;
    		}
    
    	case 'E':
    		{
    			break;
    		}
    
        default:
    		{
    		printf("Please choose a letter from A-E,You enterd a letter that is not accepted\n");
    		}
    	}
    	}while(choice !=0);
    }
    
    void populate(void)
    {
    	 
    	 int  i,j;
    
    	do
    	{
    	
    	 printf("Please remember the number of the matrix as it will be need for the operations section, i.e. your first matrix populated will be 1, you second matrix populated will be 2, and so on.\n");	
    	 printf("Enter the number of matrix you need\n");
    	 scanf("%d",&size);
    
    	}while(size <0 || size >5);
    
    	 printf("Enter the number of row and coloums of matrix\n");
    	
    	 scanf("%d%d",&rows,&columns);
    
    
    	if(size > 0 && size <= 5 )
    	{
      	 printf("\tA.   Add values to matrix A\n");
    		for(i=0; i < rows; i++)
    		{
    			for(j=0;j < columns; j++)
    			{
    				scanf("%d",&arrayA[i][j]);
    			}
    		}
    	}
    
    	
    	if(size>1 && size <=5)
    	{
      	 printf("\tA.   Add values to matrix B\n");
    		for(i=0; i < rows; i++)
    		{
    			for(j=0;j < columns; j++)
    			{
    				scanf("%d",&arrayB[i][j]);
    			}
    		}
    	}
    
    	
    	if(size>2 && size <=5)
    	{
      	 printf("\tA.   Add values to matrix C\n");
    		for(i=0; i < rows; i++)
    		{
    			for(j=0;j < columns; j++)
    			{
    				scanf("%d",&arrayC[i][j]);
    			}
    		}
    	}
    	
    	
    
    }
    
    
    void display(void)
    {
    	int i, j;
    	
    	if(size > 0 && size <= 5 )
    	{
      	 printf("\t  Add values to matrix A\n");
    		for(i=0; i < rows; i++)
    		{
    			for(j=0;j < columns; j++)
    			{
    				printf("%d ",arrayA[i][j]);
    			}
    				printf("\n");
    		}
    	}
    	printf("\n");
    	
    	if(size>1 && size <=5)
    	{
      	 printf("\t  values to matrix B\n");
    		for(i=0; i < rows; i++)
    		{
    			for(j=0;j < columns; j++)
    			{
    					printf("%d ",arrayB[i][j]);
    			}
    			printf("\n");
    		}
    	}
    	printf("\n");
    	
    	if(size>2 && size <=5)
    	{
      	 printf("\tValues stores matrix C\n");
    		for(i=0; i < rows; i++)
    		{
    			for(j=0;j < columns; j++)
    			{
    					printf("%d ",arrayC[i][j]);
    			}
    				printf("\n");
    		}
    	}
    		printf("\n");
    
    
    }
    
    void operations()
    {
    	int choice=0;
    
    	do
    	{
    
    	printf("\t1	  Scalar\n");
    	printf("\t2   Addition\n");
    	printf("\t3   Substraction\n");
    	printf("\t4   Multiplication\n");
    	printf("\t5   Exit Program\n\n\n");
    	
    	scanf(" %d",&choice);
    	
    		switch(choice)
    		{
    				case 1: scalar();
    
    					break;
    				case 2:addition();
    
    					break;
    				case 3:subtraction();
    
    					break;
    
    				case 4:multiplication();
    
    					break;
    				
    				default:
    					{
    					printf("Please choose a letter from A-E,You enterd a letter that is not accepted\n");
    					}
    		}
    	}while(choice !=0);
    
    
    }
    void addition()
    {
    	int i,j;
    	int result[5][5]={0};
    	int choice1, choice2;
    	
    	printf("This will only work if matrices were stored in the populate section of the program\n");
    	printf("Enter the two matrix you need to use\n");
    	scanf("%d %d", &choice1,&choice2);
    
    	if(choice1 == 1 && choice2 ==2)
    	{
    		for(i=0; i < rows; i++)
    		{
    			for(j=0;j < columns; j++)
    			{
    					printf("%d ",result[i][j] = arrayA[i][j] + arrayB[i][j]);
    			}
    			printf("\n");
    				
    		}
    	}
    
    		
    
    	
    	if(choice1 == 1 && choice2 ==3)
    	{
    		for(i=0; i < rows; i++)
    		{
    			for(j=0;j < columns; j++)
    			{
    				printf("%d ",result[i][j] = arrayA[i][j] + arrayC[i][j]);
    			}
    			printf("\n");
    				
    		}
    	}
    
    
    	if(choice1 == 2 && choice2 ==3)
    	{	
    		for(i=0; i < rows; i++)
    		{
    			for(j=0;j < columns; j++)
    			{
    				result[i][j] = arrayC[i][j] + arrayB[i][j];
    			}
    				
    		}
    	}
    	
    }
    void subtraction()
    {
    	int i,j;
    	int result[5][5]={0};
    	int choice1, choice2;
    
    	printf("This will only work if matrices were stored in the populate section of the program\n");
    	printf("Enter the two matrix you need to use\n");
    	scanf("%d %d", &choice1,&choice2);
    
    	if(choice1 == 1 && choice2 ==2)
    	{
    		for(i=0; i < rows; i++)
    		{
    			for(j=0;j < columns; j++)
    			{
    					printf("%d ",result[i][j] = arrayA[i][j] - arrayB[i][j]);
    			}
    			printf("\n");
    				
    		}
    	}
    
    		
    
    	
    	if(choice1 == 1 && choice2 ==3)
    	{
    		for(i=0; i < rows; i++)
    		{
    			for(j=0;j < columns; j++)
    			{
    				printf("%d ",result[i][j] = arrayA[i][j] - arrayC[i][j]);
    			}
    			printf("\n");
    				
    		}
    	}
    
    
    	if(choice1 == 2 && choice2 ==3)
    	{	
    		for(i=0; i < rows; i++)
    		{
    			for(j=0;j < columns; j++)
    			{
    				result[i][j] = arrayC[i][j] - arrayB[i][j];
    			}
    				
    		}
    	}
    
    }
    void multiplication()
    {
    	int i,j;
    	int result[5][5]={0};
    	int choice1, choice2;
    
    	printf("This will only work if matrices were stored in the populate section of the program\n");
    	printf("Enter the two matrix you need to use\n");
    	scanf("%d %d", &choice1,&choice2);
    
    	if(choice1 == 1 && choice2 ==2)
    	{
    		for(i=0; i < rows; i++)
    		{
    			for(j=0;j < columns; j++)
    			{
    					
    					printf("%d ",result[i][j] = arrayA[i][j] * arrayB[i][j]);
    			}
    			printf("\n");
    				
    		}
    	}
    
    		
    
    	
    	if(choice1 == 1 && choice2 ==3)
    	{
    		for(i=0; i < rows; i++)
    		{
    			for(j=0;j < columns; j++)
    			{
    				
    				printf("%d ",result[i][j] = arrayA[i][j] * arrayC[i][j]);
    			}
    			printf("\n");
    				
    		}
    	}
    
    
    	if(choice1 == 2 && choice2 ==3)
    	{	
    		for(i=0; i < rows; i++)
    		{
    			for(j=0;j < columns; j++)
    			{
    				result[i][j] = arrayC[i][j] * arrayB[i][j];
    			}
    				
    		}
    	}
    
    }
    void scalar()
    {
    	int i,j;
    	int result[5][5]={0};
    	int choice1, scaleFactor;
    
    	printf("This will only work if matrices were stored in the populate section of the program\n");
    	printf("Enter the two matrix you need to SCALE  and scale factor\n");
    	scanf("%d %d", &choice1,&scaleFactor);
    
    	if(choice1 == 1 )
    	{
    		for(i=0; i < rows; i++)
    		{
    			for(j=0;j < columns; j++)
    			{
    					printf("%d ",arrayA[i][j] * scaleFactor);
    			}
    			printf("\n");
    				
    		}
    	}
    
    		
    	if(choice1 == 2 )
    	{
    		for(i=0; i < rows; i++)
    		{
    			for(j=0;j < columns; j++)
    			{
    				printf("%d ",arrayB[i][j] * scaleFactor);
    			}
    			printf("\n");
    				
    		}
    	}
    
    
    	if(choice1 == 3)
    	{	
    		for(i=0; i < rows; i++)
    		{
    			for(j=0;j < columns; j++)
    			{
    					printf("%d ",arrayC[i][j] * scaleFactor);
    			}
    				
    		}
    	}
    
    }
    my only problem now is that when i press e for the program to escape it wont. can anyone help.
    akoo, you need to use better variable names in you code. I am not motivated to look at your code becaue of the variable naming.

    (1) stay away from names like "colums", "rows", "matrix" etc... those are reserve words in some languages, and might cause you headaches later if you decide to do other languages.

    (2) for the love of GOD stop using variable names like "a", "b", "c", "I" etc... your code becomes unreadable....
    easiparcel.com Shop online and ship to Jamaica

  7. #37
    Join Date
    Sep 2004
    Posts
    1,905
    Rep Power
    21

    Default

    1. should be able to populate a maximum of three matrices. limit size of the matrix is 5 rows 5 coloumns. use arrays to store the matrices
    2. program should be able to do scalar multiplication, addition of a pair of matrices, subtraction of a pair of matrices and multiplication of a pair of matrices.
    3.a matrix acn only be displayed if it was populated
    4.use a modular design
    5. allow the program to have a menu driven interface
    ok this is what i have i know couple parts may be wrong so plz help me out.
    Psuedo

    Menu
    -Input matrix
    -Dispay matrix
    -Do operation
    -Exit

    Sub Menu - Input matrix
    -Enter matrix index to use
    ---Enter dimensions (row,col)
    ----- Enter element 00, then 01, then 02, ... last
    -Back

    Sub Menu - Display matrix
    -Enter matrix index to display
    -Back

    Sub Menu - Do operation
    -Multiply
    -Add
    -...
    -Back

    Sub Sub Menu - Multiply
    -Enter the indices of two matrices
    --The product is ...(display)


    Matrix Object
    -Attributes
    ---bool IsPopulated //can be done many ways
    ---int Elements[] //can be done many ways

    Multiply Function
    -return Matrix object and uses Matrices A and B
    -Matrice Multiply(Matrice A, Matrice B) //can be done many ways

    Start
    Declare array for 3 matrix objects
    //can be an array of Matrix objects or pointers to objects
    Initialize it by setting all the bool IsPopulated property to false, or set all the pointers to null if pointers are used

    For each menu, the corresponding functions are called, eg for Multiply,
    Matrix Result = Multiply(arrMatrices[MatrixIndex_UserSelect1], arrMatrices[MatrixIndex_UserSelect2]);
    Display(Result);
    Let's act on what we agree on now, and argue later on what we don't.
    Black men leave Barbeque alone if Barbeque don't trouble you

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •