تبلیغات
دانلود سورس پروژه های مختلف برنامه نویسی، آموزش برنامه نویسی - سورس کد ضرب ماتریس ها به زبان سی پلاس پلاس
دانلود سورس پروژه های مختلف برنامه نویسی، آموزش برنامه نویسی
دانلود رایگان سورس پروژه
سایت برنامه نویسی تک کدر takcoder.ir


آموزش برنامه نویسی با استفاده از نوین ترین روش و ارائه پروژه های نمونه و مجموعه عظیم سورس کدهای آماده برای شما دوستان

مدیر سایت : Yahya Taherzadeh
نویسندگان
نظرسنجی
زبان برنامه نویسی مورد علاقه شما؟






امروز برای شما سورس کد ضرب ماتریس ها در توربو سی پلاس را به صورت رایگان در این پست می گذارم تا در صورت نیاز از آن استفاده کنید.

#include “conio.h”
#include “iostream.h”
#define MAX 10
typedef double Matrix[MAX][MAX];
typedef double Vector[MAX];

void Input(int m, int n, Matrix a, char name)
{
cout<<”\n————–\n”;
cout << name << “=?\n”;
for(int i = 0; i < m; i++)
for(int j = 0; j < n; j++)
{
cin >> a[i][j];
}
}
void Output(int m, int n, Matrix a, char name)
{
cout<<”\n————–\n”;
cout << name << “=?\n”;
for(int i = 0; i < m; i++)
{
for(int j = 0; j < n; j++)
{
cout << a[i][j] << ‘ ‘;
}
cout << endl;
}
}
void Mult(int m, int n, int p, Matrix a, Matrix b, Matrix c)
{
for(int i = 0; i < m; i++)
for(int j = 0; j < p; j++)
{
c[i][j] = 0;
for(int k = 0; k < n; k++)
c[i][j] += a[i][k] * b[k][j];
}
}
int main(int argc, char* argv[])
{
clrscr();
int m, n, p;
cout << “m = ? “;
cin >> m;
cout << “n = ? “;
cin >> n;
cout << “p = ? “;
cin >> p;

Matrix A, B, C;

Input(m, n, A, ‘A’);
Input(n, p, B, ‘B’);
Mult(m, n, p, A, B, C);
Output(m, p, C, ‘C’);
getch();
return 0;
}





نوع مطلب : آموزش، پروژه های رایگان، سی| سی پلاس پلاس، پروژه های تکمیل شده، 
برچسب ها : دانلود نمودار آماده، دانلود رایگان ضرب، سورس کد ضرب ماتریس ها به زبان سی پلاس پلاس c++، سورس ضرب ماتریس، ماتریس، سورس کد ضرب ماتریس ها به زبان سی پلاس پلاس، دانلود رایگان سورس کد ضرب ماتریس ها به زبان سی پلاس پلاس c++،
لینک های مرتبط :
Yahya Taherzadeh
چهارشنبه 20 آذر 1392
یکشنبه 26 شهریور 1396 04:13 ب.ظ
Ahaa, its nice conversation regarding this article here
at this webpage, I have read all that, so at this time
me also commenting here.
شنبه 4 شهریور 1396 04:42 ب.ظ
It's perfect time to make some plans for the future and it's time
to be happy. I have read this post and if I could I desire to suggest you few interesting things or
suggestions. Maybe you could write next articles referring to this article.

I want to read even more things about it!
شنبه 14 مرداد 1396 08:00 ق.ظ
Have you ever considered creating an e-book or guest authoring on other sites?
I have a blog based on the same subjects you discuss and would really like to have you share some stories/information. I know my viewers would enjoy your work.
If you are even remotely interested, feel free to shoot me an email.
جمعه 6 مرداد 1396 06:01 ب.ظ
I’m not that much of a online reader to be honest but your sites really
nice, keep it up! I'll go ahead and bookmark your website
to come back in the future. Cheers
شنبه 24 تیر 1396 10:38 ب.ظ
Simply want to say your article is as amazing.
The clearness in your post is just great and i can assume you're an expert on this subject.

Well with your permission allow me to grab your RSS feed to
keep up to date with forthcoming post. Thanks a
million and please continue the gratifying work.
دوشنبه 12 تیر 1396 06:35 ب.ظ
What's up i am kavin, its my first time to commenting anyplace, when i
read this article i thought i could also create comment
due to this good post.
جمعه 29 اردیبهشت 1396 01:43 ق.ظ
Hello, I read your blogs regularly. Your humoristic style is witty,
keep it up!
یکشنبه 27 فروردین 1396 11:29 ب.ظ
Its such as you learn my mind! You seem to grasp so much approximately this, such as you wrote the e book in it
or something. I believe that you just could do with
a few p.c. to pressure the message home a bit, however instead of
that, this is excellent blog. A fantastic read. I will definitely be back.
شنبه 26 فروردین 1396 11:44 ق.ظ
I was wondering if you ever considered changing the structure of your website?
Its very well written; I love what youve got to say.
But maybe you could a little more in the way of content so people
could connect with it better. Youve got an awful lot of text for only having 1 or two pictures.
Maybe you could space it out better?
جمعه 18 فروردین 1396 04:59 ب.ظ
This post is actually a nice one it helps new the web viewers, who are wishing for blogging.
 
لبخندناراحتچشمک
نیشخندبغلسوال
قلبخجالتزبان
ماچتعجبعصبانی
عینکشیطانگریه
خندهقهقههخداحافظ
سبزقهرهورا
دستگلتفکر




صفحات جانبی
آمار وبلاگ
تاییدیه پرداخت
تبلیغات
به سایت تک کدر خوش آمدید