⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 matopr.cpp

📁 一些基本的矩阵算法
💻 CPP
字号:
//Matrix Operations


/**************************************************************/
/*Programmed by : Vivek Patel**********************************/
/*For Bugs Free feel to contact********************************/
/*Website : www.vivekpatel.cjb.net*****************************/
/*Email : vivek_patel9@rediffmail.com**************************/
/**************************************************************/



#include <iostream.h>
#include <iomanip.h>
#include <conio.h>
//using Absolute path, u can modify to ur relative address...
#include "e:\vivek\MCA_SEM2\DFS\Array\Matrix\matrix.cpp"

void main()
{
   int choice;
   matrix obj;
   while(1){
   clrscr();
   cout<<"\t\tMATRIX OPERATIONS\n\n";
   cout<<"\t\t1) Addition\n";
   cout<<"\t\t2) Subtraction\n";
   cout<<"\t\t3) Multiplication\n";
   cout<<"\t\t4) Exit\n";
   cout<<"\t\tEnter your Choice :  ";
   cin>>choice;
   switch(choice){
	 case 1 :  obj.matAdd();
		   break;
	 case 2 :  obj.matSub();
		   break;
	 case 3 :  obj.matMul();
		   break;
	 case 4 :  goto out;
	 default:  cout<<"\n\n\t\tInvalid Choice\n\n";
		   getch();
		   break;
   }
 }
 out:
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -