PS -
The error is in the for loop probably in the line -
b[i][j] = b[j][i] = b[5-i][j] = b[j][5-i] = 0;
Please help!
User Profile
Collapse
Profile Sidebar
Collapse
onkarbulbule
Last Activity: Feb 11 '13, 05:56 AM
Joined: Jan 24 '13
Location:
-
General Protection Error in C++ code
Hi I am trying to do a program on convolution, that is, multiplying 2 non-multipliable matrices. Here is the code. I even know where I'm getting an error. It's on line 20. Please help me out. Why am I getting this error?
...Code:#include<iostream.h> #include<stdio.h> #include<conio.h> void main() { int a[5][5], b[10][10], t[20][10][10], res[10][10]; int i, j, k, x;
No activity results to display
Show More
Leave a comment: