程序运行结束后总是出现:Run-Time Check Failure #2 - Stack around the variable 'p' was corrupted.程序运行结果正确,经过我检查多遍并没有发现高斯消去函数的问题,主程序也不存在溢出的问题,纠结,#include

来源:学生作业帮助网 编辑:作业帮 时间:2024/05/03 09:53:40
程序运行结束后总是出现:Run-Time Check Failure #2 - Stack around the variable 'p' was corrupted.程序运行结果正确,经过我检查多遍并没有发现高斯消去函数的问题,主程序也不存在溢出的问题,纠结,#include

程序运行结束后总是出现:Run-Time Check Failure #2 - Stack around the variable 'p' was corrupted.程序运行结果正确,经过我检查多遍并没有发现高斯消去函数的问题,主程序也不存在溢出的问题,纠结,#include
程序运行结束后总是出现:Run-Time Check Failure #2 - Stack around the variable 'p' was corrupted.
程序运行结果正确,经过我检查多遍并没有发现高斯消去函数的问题,主程序也不存在溢出的问题,纠结,
#include
#include
#include
using namespace std;
void Gauss (double temp1[3][4]) //高斯消去
{
for(int i=0; i

程序运行结束后总是出现:Run-Time Check Failure #2 - Stack around the variable 'p' was corrupted.程序运行结果正确,经过我检查多遍并没有发现高斯消去函数的问题,主程序也不存在溢出的问题,纠结,#include
Gauss函数i=0,k=3-i的时候temp1[k][j]出界了
for(int k=i+1; k