可能这个问题提过很多遍了 但是我还是遇见这样的问题 浏览网页的时候出现
Microsoft Visual C++ Debug Library
Debug Assertion Failed!
Program:D:\诺顿\ekrn.exe
File:afxtempl.h
line:262终止 重试 忽略 我在想是不是我安装的诺顿出了问题,我是学软件的,我问了下我的专业老师,他说这个调试的话要用到反汇编,我现在才大一,还只学了JAVA,VS的一点皮毛,所以根本就不知道搞啊,求助高手啊
Microsoft Visual C++ Debug Library
Debug Assertion Failed!
Program:D:\诺顿\ekrn.exe
File:afxtempl.h
line:262终止 重试 忽略 我在想是不是我安装的诺顿出了问题,我是学软件的,我问了下我的专业老师,他说这个调试的话要用到反汇编,我现在才大一,还只学了JAVA,VS的一点皮毛,所以根本就不知道搞啊,求助高手啊
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;namespace PictureLook
{
public partial class Form1 : Form
{
int index = 0;
bool isrun = false;
public Form1()
{
InitializeComponent();
pictureBox1.Image = imageList1.Images[index];
} private void Form1_Load(object sender, EventArgs e)
{
} private void timer1_Tick(object sender, EventArgs e)
{
if (isrun)
{
index = (index + 1) % 20;
pictureBox1.Image = imageList1.Images[index];
} } private void toolStripButton3_Click(object sender, EventArgs e)
{
isrun = !isrun; } private void toolStripButton1_Click(object sender, EventArgs e)
{
index -= 1;
if (index == -1) index = 19;
pictureBox1.Image = imageList1.Images[index];
} private void toolStripButton2_Click(object sender, EventArgs e)
{
index = (index + 1) % 20;
pictureBox1.Image = imageList1.Images[index];
}
}
}
就这点代码~ 是做一个控制连帧的图片播放的 有20张图片 我本来做好了的 但是后来觉得背景不好看 就把背景改了下 谁知道~ 报 内存的错误~ ⊙﹏⊙b汗~ 后来改了下 又成数组下标越界了~