تبلیغات
دانلود سورس پروژه های مختلف برنامه نویسی، آموزش برنامه نویسی - سورس کد ضرب ماتریس ها به زبان سی پلاس پلاس
دانلود سورس پروژه های مختلف برنامه نویسی، آموزش برنامه نویسی
دانلود رایگان سورس پروژه
سایت برنامه نویسی تک کدر 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
شنبه 28 مهر 1397 12:53 ق.ظ
Just desire to say your article is as astonishing. The clearness in your
post is just great and i can assume you are an expert on this subject.
Well with your permission let me to grab your RSS feed to keep up to date with forthcoming post.
Thanks a million and please continue the rewarding work.
چهارشنبه 25 مهر 1397 01:23 ق.ظ
I love what you guys are up too. This sort of clever
work and reporting! Keep up the fantastic works guys I've you
guys to blogroll.
سه شنبه 17 مهر 1397 04:50 ب.ظ
Heya i am for the first time here. I found this board and I find It truly useful & it helped me out much.
I hope to give something back and aid others like you helped me.
یکشنبه 15 مهر 1397 02:00 ب.ظ
I'm truly enjoying the design and layout of your blog. It's a very easy on the eyes which makes it much
more pleasant for me to come here and visit more often. Did you hire out a designer to
create your theme? Great work!
سه شنبه 10 مهر 1397 12:54 ب.ظ
Wow that was strange. I just wrote an extremely long comment
but after I clicked submit my comment didn't show up.
Grrrr... well I'm not writing all that over again. Anyways, just wanted to say fantastic blog!
سه شنبه 10 مهر 1397 02:15 ق.ظ
Thankfulness to my father who stated to me regarding this website, this
web site is in fact awesome.
سه شنبه 10 مهر 1397 01:45 ق.ظ
I don't even know the way I finished up here, but I believed this put
up used to be great. I do not know who you are but certainly you're going to
a famous blogger if you happen to are not already.
Cheers!
دوشنبه 9 مهر 1397 05:50 ق.ظ
It's amazing for me to have a web page, which is valuable for my know-how.
thanks admin
پنجشنبه 22 شهریور 1397 08:56 ب.ظ
Now I am going away to do my breakfast, afterward having
my breakfast coming yet again to read additional news.
دوشنبه 19 شهریور 1397 01:05 ق.ظ
Yesterday, while I was at work, my cousin stole my iphone and tested to see if
it can survive a thirty foot drop, just so she can be a youtube sensation. My iPad is now broken and she has 83 views.
I know this is entirely off topic but I had to share
it with someone!
یکشنبه 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.
 
لبخندناراحتچشمک
نیشخندبغلسوال
قلبخجالتزبان
ماچتعجبعصبانی
عینکشیطانگریه
خندهقهقههخداحافظ
سبزقهرهورا
دستگلتفکر




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