1,部分软件需要运行环境才能安装,请先安装.net framwork、visual c++等组件;
2,如方法1无效,确认弹出此提示后,对话框左上角的的进程名称是什么,如果是软件的进程,则为软件故障,尝试卸载此软件或安装新版本此软件;
3,如果对话框左上角的进程名称是svchost.exe等系统进程,可先卸载最近安装的软件,再重新安装驱动;
4,进入安全模式是否有此提示,尝试全盘杀毒;
5,尝试扫描硬盘有无坏道,扫描内存;
6,如以上排查均无效,可以重装系统尝试下
改完后的程序如下,楼主可以试运行一下,注意以后用scanf输入数据时的格式哦,望采纳,谢谢!#include<stdio.h>
#include<string.h>
#include<malloc.h>
#include<stdlib.h>
#define NULL 0
#define LEN sizeof(struct student)
struct student{
long num
char name[100]
float score
struct student*next
}
int n
struct student* creat(){
struct student*head
struct student*p1,*p2
n=0
p1=p2=(struct student*)malloc(LEN)
scanf("%d%s%f",&p1->num,p1->name,&p1->score) //这里错了,中间如果用逗号隔开,输入时必须用逗号分隔,否则会死循环
head=NULL
while(p1->num!=0){
n=n+1
printf("%d %s %f\n",p1->num,p1->name,p1->score) //将输入的值打印出来看下有无错误
if(n==1)
head=p1
else p2->next=p1
p2=p1
p1=(struct student*)malloc(LEN)
scanf("%d%s%f",&p1->num,p1->name,&p1->score) //同上,中间如果用逗号隔开,输入时必须用逗号分隔,否则会死循环
}
p2->next=NULL
return(head)
}
void main(){
struct student *head,*stu
long del_num
printf("input records:\n")
head=creat()
}