C语言课程设计 成绩处理程序

C语言课程设计 成绩处理程序,第1张

#include<timeh>

#include<stdioh>

#include<conioh>

#include <stdlibh>

#define MAX 50

void input();

void sort();

void display();

void insert();

void del();

void average();

int now_no=0;

struct student

{

int no;

char name[20];

char sex[4];

float score1;

float score2;

float score3;

float sort;

float ave;

float sum;

};

struct student stu[MAX],p;

main()//主函数

{

char as;

start: printf("\t\t\t欢迎使用学生成绩管理系统\n\n");

//一下为功能选择模块

do{

printf("\n\t\t\t\t1录入学员信息\n\t\t\t\t2显示学员信息\n\t\t\t\t3成绩排序信息\n\t\t\t\t4添加学员信息\n\t\t\t\t5删除学员信息\n\t\t\t\t6退出\n");

printf("\t\t\t\t选择功能选项:");

as=getch();

switch(as)

{

case '1':

system("cls");

input();

break;

case '2':

system("cls");

display();

break;

case '3':

system("cls");

sort();

break;

case '4':

system("cls");

insert();

break;

case '5':

system("cls");

del();

break;

case '6':

system("exit");

exit(0);

default:

system("cls");

goto start;

}

}while(1);

//至此功能选择结束

}

void input()//原始数据录入模块

{

int i=0;

char ch;

do

{

printf("\t\t\t\t1录入学员信息\n输入第%d个学员的信息\n",i+1);

printf("\n输入学生编号:");

scanf("%d",&stu[i]no);

fflush(stdin);

printf("\n输入学员姓名:");

fflush(stdin);

gets(stu[i]name);

printf("\n输入学员性别:");

fflush(stdin);

gets(stu[i]sex);

printf("\n输入学员成绩:");

fflush(stdin);

scanf("%f",&stu[i]score1);

printf("\n输入学员成绩:");

fflush(stdin);

scanf("%f",&stu[i]score2);

printf("\n输入学员成绩:");

fflush(stdin);

scanf("%f",&stu[i]score3);

printf("\n\n");

i++;

now_no=i;

printf("%d",now_no);

printf("是否继续输入(Y/N)");

ch=getch();

system("cls");

}

while(ch!='n');

system("cls");

}

void sort()//排序数据函数

{

struct student temp;

int i,j;

for(i=1;i<now_no;i++)

{

for(j=1;j<=now_no-i;j++)

{

if(stu[j-1]ave<stu[j]ave)

{temp=stu[j];

stu[j]=stu[j-1];

stu[j-1]=temp;

}}}

}

void display()//显示数据函数

{

int i;

char as;

float ave;

do

{

printf("\t\t班级学员信息列表\n");

printf("\t编号\t姓名\t性别\t成绩\t成绩\t成绩\t平均值\n");

for(i=0;i<now_no;i++)

{

stu[i]sum=stu[i]score1+stu[i]score2+stu[i]score3;

stu[i]ave=stu[i]sum/3;

printf("\t%d\t%s\t%s\t%2f\t%2f\t%2f\t%2f\n",stu[i]no,stu[i]name,stu[i]sex,stu[i]score1,stu[i]score2,stu[i]score3,stu[i]ave);

}

printf("\t\t按任意键返回主菜单");

as=getch();

goto exit;

}

while(as!='n');

exit: system("cls");

}

void insert()//插入数据函数

{

char ch;

do

{

printf("\n\t\t输入新插入学员队信息\n");

printf("\n输入学生编号:");

scanf("%d",&stu[now_no]no);

fflush(stdin);

printf("\n输入学员姓名:");

fflush(stdin);

gets(stu[now_no]name);

printf("\n输入学员性别:");

fflush(stdin);

gets(stu[now_no]sex);

printf("\n输入学员成绩:");

fflush(stdin);

scanf("%f",&stu[now_no]score1);

printf("\n输入学员成绩:");

fflush(stdin);

scanf("%f",&stu[now_no]score2);

printf("\n输入学员成绩:");

fflush(stdin);

scanf("%f",&stu[now_no]score3);

printf("\n\n");

now_no=now_no+1;

sort();

printf("是否继续输入(Y/N)");

ch=getch();

system("cls");

}

while(ch!='n');

}

void del()//删除数据函数

{

int inum,i,j;

printf("输入要删除学员的编号:");

fflush(stdin);

scanf("%d",&inum);

for(i=0;i<now_no;i++)

{

if(stu[i]no==inum)

{

for(j=i;j<now_no;j++)

{

stu[i]=stu[i+1];

}

now_no=now_no-1;

}

break;

}

system("cls");

}

内存不能为read/written 问题的最简单的办法:(原创答案,欢迎分享→请活学活用→仅供参考):

一、如果能排除硬件上的原因(内存条不兼容,更换内存。显卡驱动是否正确按装或者是否被恶意覆盖否?)往下看:

二、系统或其它软件引起的,可用下述方法处理: 系统本身有问题,及时安装官方发行的补丁,必要时重装系统。 病毒问题:杀毒 。杀毒软件与其它软件冲突:卸载有问题的软件。

三、浏览器出现内存不能读、写的提示:

1、运行→regedit→进入注册表, 在→

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ShellExecuteHooks

这个位置有一个正常的键值{AEB6717E-7E19-11d0-97EE-00C04FD91972}, 将其他的删除。

2、打开CMD窗口输入如下命令:

for %i in (%windir%\system32\dll) do regsvr32exe /s %i 回车

for %i in (%windir%\system32\ocx) do regsvr32exe /s %i 回车

两条分别运行完成后重启机器。

四、如果以上方法无法解决只能使用最后一招:

完全注册dll:打开“运行”输入→cmd→回车

然后把下面这行字符复制到黑色cmd框里面去回车等待dll文件全部注册完成就关闭可以了,为防止输入错误可以复制这条指令,然后在命令提示符后击鼠标右键→粘贴→回车,耐心等待,直到屏幕滚动停止。

(下面是要运行的代码):

for %1 in (%windir%\system32\dll) do regsvr32exe /s %1

完成后重新启动机器。

简单有效的处理方法是看错误提示,哪一个软件引起的冲突就卸载那个软件,重新启动机器以后首先关闭杀毒软件,重新运行安装。

你用的是“ ST MCU 三合一体验套件 ” 里面的那套STM8S的开发板嚒·?

如果是的话可以参考以下例程:是在微雪电子那采购的官方套件光盘中的示例程序,不知道能不能帮到你! 有分的话给点分用用,嘿嘿!

/============================================================================/

/ PROJECT: DRIVING BUZZER THROUGH STM8 TIMER2 PWM DEMO SYSTEM /

/ MODULE: mainc /

/ COMPILER: STM8 Cosmic C Compiler /

/ DATE: Feb 2009 /

/----------------------------------------------------------------------------/

/ DESCRIPTION: Demonstration firmware for STM8 Mini Kit /

/ playing a tune through its buzzer /

/============================================================================/

/

THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS

WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE

TIME AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY

DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING

FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE

CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS

COPYRIGHT 2008 STMicroelectronics

/

/ Includes ------------------------------------------------------------------/

#include "STM8S105C_Sh" / Registers and memory mapping file /

//

/ Macro definitions

//

/ Music instruction and note coding /

#define _END_ 0xFF / Music END /

#define _PAUSE_ 0xFE / Pause between different tunes /

/ Note tone definition /

#define _FA0 0x00 / FA- /

#define _SOL0 0x01 / SOL- /

#define _LA0 0x02 / LA- /

#define _SI0 0x03 / SI- /

#define _DO 0x04 / DO /

#define _RE 0x05 / RE /

#define _MI 0x06 / MI /

#define _FA 0x07 / FA /

#define _SOL 0x08 / SOL /

#define _LA 0x09 / LA /

#define _SI 0x0A / SI /

#define _DO2 0x0B / DO+ /

#define _M 0x0C / MUTE /

#define _RE2 0x0D / RE+ /

#define _SOL2 0x0E / SOL+ /

#define _FAd 0x0F / FA# /

/ Note length definition /

#define sq 0x10 / Semiquaver notes /

#define q 0x20 / Quaver notes /

#define qp 0x30 / 15 quaver notes /

#define c 0x40 / Crotchet notes /

#define cn 0x60 / 15 crotchet notes/

#define m 0x80 / Minim notes /

/a note is defined here by a combination of a tone and a length, both parts

being easily retrievable with the AND binary operator: note = tone+length,

and tone&length=0/

//

/ RAM SEGMENT variables /

//

/ Global variable used to store the ADC result /

unsigned int AD_Value;

/ Global variable used to store the Key pressed for changing octave /

unsigned char Flag_Octave_Chg;

/ Global variable used as index for the array of notes: position in the tune/

unsigned int current_note = 0;

/ Global variable used as index for the array of notes /

unsigned char c1,c1_buf;

/ Music note coding ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /

/ FA0 SOL0 LA0 SI0 DO RE MI FA SOL LA SI DO2 MUTE RE2 SOL2 FA# /

/ TIM2 CCR1 High byte /

const unsigned char Low_Note_h[] / Lower octave /

={0x2C,0x27,0x23,0x1F,0x1D,0x1A,0x17,0x16,0x13,0x11,0x0F,0x0E,0x00, 0x0D, 0x09, 0x15 };

const unsigned char Hi_Note_h[] / Higher octave /

={0x16,0x13,0x11,0x0F,0x0E,0x0D,0x0B,0x0B,0x09,0x08,0x07,0x07,0x00, 0x06, 0x04, 0x0A };

/ TIM2 CCR1 Low byte /

const unsigned char Low_Note_l[] / Lower octave /

={0xA4,0xDC,0x82,0xA1,0xEE,0xA9,0xAC,0x62,0xEE,0xC1,0xD0,0xF0,0x00, 0x4F, 0xF7, 0x2C };

const unsigned char Hi_Note_l[] / Higher octave /

={0x52,0xEE,0xC1,0xD0,0xF7,0x54,0xD6,0x31,0xF7,0xE0,0xE8,0x78,0x00, 0xA7, 0xFB, 0x96 };

/ The actual tune sequence: an array of notes /

const unsigned char tune[] =

{

_M+sq, _M+sq, / Two "buffer" mutes needed to manage smoothly the /

/ current_note/current_note_init comparison /

/------------------ DO RE MI FA SOL LA SI DO2 --------------------------/

/------------------ DO2 SI LA SOL FA MI RE DO --------------------------/

_DO+c,_RE+c,_MI+c,_FA+c,_SOL+c,_LA+c,_SI+c,_DO2+c,_M+m, _PAUSE_,

_DO2+c,_SI+c,_LA+c,_SOL+c,_FA+c,_MI+c,_RE+c,_DO+c,_M+m, _PAUSE_,

/---------------------------- 新年好 ------------------------------------/

_DO+c,_DO+c,_DO+c,_M+sq,_DO+m,_SOL0+m,_MI+c,_MI+c,_M+sq,_MI+m,_DO+m,_DO+c,

_MI+c,_M+sq,_SOL+m,_SOL+m,_FA+c,_MI+c,_M+sq,_RE+m,_RE+m,_M+sq,_RE+c,_MI+c,

_FA+m,_M+sq,_FA+m,_MI+c,_RE+c,_MI+m,_DO+m,_M+sq,_DO+c,_MI+c,_RE+m,_SOL0+m,

_SI0+c,_RE+c,_DO+m,_DO+m,_PAUSE_,

/--------------------------- 两只老虎 -----------------------------------/

_DO+c,_RE+c,_MI+c,_DO+c,_DO+c,_RE+c,_MI+c,_DO+c,_MI+c,_FA+c,_SOL+m,_MI+c,

_FA+c,_SOL+m,_SOL+qp,_LA+sq,_SOL+qp,_FA+sq,_MI+c,_DO+c,_SOL+qp,_LA+sq,

_SOL+qp,_FA+sq,_MI+c,_DO+c,_M+sq,_DO+c,_SOL0+c,_DO+m,_M+sq,_DO+c,_SOL0+c,

_DO+m,_M+sq,_PAUSE_,

/---------------------------- 甜蜜蜜 ------------------------------------/

_MI+m,_SOL+c,_LA+c,_MI+m,_MI+c,_DO+c,_RE+cn,_DO+q,_RE+c,_MI+q,_SOL+q,_MI+m,

_MI+m,_RE+c,_RE+c,_RE+c,_RE+q,_MI+q,_RE+q,_DO+cn,_LA0+q,_SOL0+cn,_DO+m,

_DO+c,_RE+c,_MI+cn,_RE+q,_MI+q,_RE+q,_MI+q,_SOL+q,_RE+m,_RE+m,_RE+m,_RE+m,

_MI+m,_SOL+c,_LA+c,_MI+m,_MI+c,_DO+c,_RE+cn,_DO+q,_RE+c,_MI+q,_SOL+q,_MI+m,

_MI+m,_RE+c,_RE+c,_RE+c,_RE+q,_MI+q,_RE+q,_DO+cn,_LA0+q,_SOL0+cn,_DO+m,

_DO+c,_MI+c,_RE+q,_DO+q,_DO+c,_LA0+q,_SOL0+cn,_DO+m,_DO+m,_DO+m,_DO+m,_MI+m,

_MI+m,_SOL0+m,_LA0+q,_DO+q,_SOL0+q,_LA0+q,_DO+m,_DO+m,_DO+m,_DO+m,_LA0+c,

_SI0+c,_LA0+c,_SI0+c,_LA0+c,_LA0+q,_DO+q,_LA0+q,_SOL0+q,_SOL0+c,_MI+m,_MI+m,

_MI+m,_MI+m,_LA0+c,_SI0+c,_LA0+c,_SI0+c,_LA0+c,_LA0+q,_DO+q,_LA0+q,_SOL0+q,

_SOL0+c,_MI+m,_MI+m,_MI+m,_M+c,_SOL+q,_LA+q,_SOL+m,_M+c,_SOL+q,_LA+q,_SOL+m,

_M+c,_SOL+q,_LA+q,_SOL+c,_SOL+q,_LA+q,_SOL+c,_SOL+q,_LA+q,_SOL+m,_SOL+m,

_MI+m,_SOL+c,_LA+c,_MI+m,_MI+c,_DO+c,_RE+cn,_DO+q,_RE+c,_RE+q,_SOL+q,_MI+m,

_MI+m,_RE+c,_RE+c,_RE+c,_RE+q,_MI+q,_RE+q,_DO+cn,_LA0+q,

_SOL0+cn,_DO+m,_DO+c,_MI+c,_RE+q,_DO+q,_DO+c,_LA0+q,_SOL0+cn,_DO+m,_DO+m,

_DO+m,_DO+m,_MI+m,_MI+m,_SOL0+m,_LA0+q,_DO+q,_SOL0+q,_LA0+q,_DO+m,_DO+m,

_DO+m,_DO+m,_PAUSE_,

/------------------ _END_ marks to end of the tune ----------------------/

_END_

};

//

/ Function definitions /

//

/ -------------------------------------------------------------------------- /

/ ROUTINE NAME: Buzz_Init /

/ INPUT/OUTPUT: None /

/ DESCRIPTION: Initialize the TIM2 as PWM mode for BUZZ control /

/ -------------------------------------------------------------------------- /

void Buzz_Init ( void )

{

PD_DDR |= 0x10; / Configure PD4 as output (for the PWM) /

PD_CR1 |= 0x10; / PD4 Push pull output /

TIM2_CCMR1 |= 0x70; / Output mode PWM2 /

TIM2_CCER1 |= 0x03; / CC polarity low,enable PWM output /

TIM2_ARR = 0; / Freq control register: ARR /

TIM2_CCR1 = 0; / Dutycycle control register: CCR /

TIM2_PSCR |= 0x00; / fCK_CNT is equal to fCK_PSC /

TIM2_CR1 |= 0x01; / Enable TIM2 /

current_note = 1;

}

/ -------------------------------------------------------------------------- /

/ ROUTINE NAME: Buzz_Wait /

/ INPUT/OUTPUT: Note duration (4bit MSB information) / None /

/ DESCRIPTION: 1) Sample AIN voltage and store in AD_Value /

/ 2) Polling wait routine for note duration(based on 4ms delay)/

/ duration: Quaver (2), crotchet (4) or minim (8) selection /

/ ---------------------------------------------------------------------------/

void Buzz_Wait(unsigned char duration)

{

int i = 0;

unsigned char uc = 0;

unsigned long Temp;

/ Sample AIN voltage in ADC single mode /

ADC_CR1 |= 0x01; / First set ADON to power on the ADC module /

i = 6; / Wait >7us to ensure the ADC power on finished/

while(i--);

ADC_CR1 |= 0x01; / Set ADON again to start AD convert /

while(!(ADC_CSR & 0x80));/ Waiting for AD convert finished (EOP=1) /

/ Store ADC value to AD_Value /

AD_Value = ((((unsigned int)ADC_DRH)<<2)+ADC_DRL)>>2;

if (AD_Value < 0x01)

{ AD_Value = 0x01; }

if (AD_Value > 0xC0)

{ AD_Value = 0xC0; }

if (Flag_Octave_Chg==1)

{

Temp = ((((unsigned int) Low_Note_h [c1_buf])<<8)+Low_Note_l [c1_buf]);

}

else

{

Temp = ((((unsigned int) Hi_Note_h [c1_buf])<<8)+Hi_Note_l [c1_buf]);

}

Temp = (TempAD_Value)>>9;

/ The new duty cycle value is written in CCR /

TIM2_CCR1H=(unsigned char)(((unsigned int)Temp & 0xff00)>>8);

TIM2_CCR1L=(unsigned char)((unsigned int)Temp & 0x00ff);

/ Delay time = duration Y /

while ( uc < duration ) / The following loop is run "duration" times /

{

while ( i < 1200 ) / This loop "Y" waits approximately 43ms /

{

i++;

}

i = 0;

uc++;

}

}

/ -------------------------------------------------------------------------- /

/ ROUTINE NAME: Buzz_PlayTune /

/ INPUT/OUTPUT: None /

/ DESCRIPTION: Plays a music score (one tune at a time) /

/ -------------------------------------------------------------------------- /

void Buzz_PlayTune ( void )

{

unsigned ui;

unsigned long temp_DCR;

unsigned char temp;

while(1)

{

if(tune[current_note] == _END_)

{

/ End of the music, reset to beginning 1 is a mute at the /

/ beginning of the array of notes; differs from 0 /

current_note = 1;

break;

}

else if(tune[current_note] == _PAUSE_)

{

/ End of a tune, save the position in the music, stop playing /

current_note++;

break;

}

else

{

c1 = tune[current_note];

/ Loads a note (or mute) on the relevant registers /

/ The note information is carried only by the 4 lowest bits /

c1_buf= c1 & 0x0f;

if (Flag_Octave_Chg==1)

{

temp_DCR = ((((unsigned int)Low_Note_h [c1_buf])<<8)+Low_Note_l[c1_buf]);

TIM2_ARRH = Low_Note_h [c1_buf];

TIM2_ARRL = Low_Note_l [c1_buf];

}

else

{

temp_DCR = ((((unsigned int) Hi_Note_h [c1_buf])<<8)+Hi_Note_l [c1_buf]);

TIM2_ARRH = Hi_Note_h [c1_buf];

TIM2_ARRL = Hi_Note_l [c1_buf];

}

temp_DCR = (temp_DCRAD_Value)>>9;

/ The new duty cycle value is written in DCR0 /

temp=((unsigned int)temp_DCR & 0xff00)>>8;

TIM2_CCR1H=(unsigned char)temp;

temp=((unsigned int)temp_DCR & 0x00ff);

TIM2_CCR1L=(unsigned char)temp;

/ Waits for the duration of the note /

/ The duration info is carried by the 4 highest bits /

Buzz_Wait(c1&0xF0);

/ Progressing in the array of notes: the tune /

current_note++;

}

}

}

/ -------------------------------------------------------------------------- /

/ ROUTINE NAME: GPIO_Init /

/ INPUT/OUTPUT: None /

/ DESCRIPTION: Initialize the GPIO for LED,TLI /

/ -------------------------------------------------------------------------- /

void GPIO_Init(void)

{

/ LED IO Configuration /

/ LD3: PD3 /

/ LD2: PD1 /

/ LD1: PD0 /

PD_DDR |= 0x0D; / Output /

PD_CR1 |= 0x0D; / PushPull /

PD_CR2 = 0x00; / Output speed up to 2MHz /

/ PD7 external interrupt /

EXTI_CR1 = 0x00; / External interrupt (TLI) sensitivity /

EXTI_CR2 = 0x00;

PD_DDR &=~0x80; / PD7: Input /

PD_CR2 |= 0x80; / Enable TLI interrupt /

}

/ -------------------------------------------------------------------------- /

/ ROUTINE NAME: CLK_Init /

/ INPUT/OUTPUT: None /

/ DESCRIPTION: Initialize the clock source /

/ -------------------------------------------------------------------------- /

void CLK_Init(void)

{

/ Configure HSI prescaler/

CLK_CKDIVR &= ~0x10; / 01: fHSI= fHSI RC output/2 /

/ Configure CPU clock prescaler /

CLK_CKDIVR |= 0x01; / 001: fCPU=fMASTER/2 /

}

/ -------------------------------------------------------------------------- /

/ ROUTINE NAME: ADC_Init /

/ INPUT/OUTPUT: None /

/ DESCRIPTION: Initialize the AD converter /

/ -------------------------------------------------------------------------- /

void ADC_Init(void)

{

ADC_CR2 = 0x00;

ADC_CR1 = 0x00;

ADC_CSR = 0x03;

ADC_TDRL = 0x20;

}

/ -------------------------------------------------------------------------- /

/ ROUTINE NAME: TIM_Init /

/ INPUT/OUTPUT: None /

/ DESCRIPTION: Initialize the TIM4 as LED timebase /

/ -------------------------------------------------------------------------- /

void TIM_Init(void)

{

/ TIM4 Peripheral Configuration /

/ Time Base configuration /

TIM4_PSCR = 0x04; / Configure TIM4 prescaler /

TIM4_ARR = 0xFF; / Configure TIM4 period /

/TIM4 counter enable /

TIM4_CR1 |= 0x01; / Enable TIM4 /

TIM4_IER |= 0x01; / Enable TIM4 OVR interrupt /

}

/ -------------------------------------------------------------------------- /

/ ROUTINE: main /

/ main entry /

/ -------------------------------------------------------------------------- /

void main ( void )

{

unsigned int j;

_asm("sim"); / Disable interrupts /

Flag_Octave_Chg=0;

CLK_Init();

GPIO_Init();

TIM_Init();

ADC_Init();

_asm("rim"); / Enable interrupts /

Buzz_Init (); / Init TIMER peripheral /

while ( 1 )

{

/ Play the current score /

Buzz_PlayTune();

Buzz_Wait(0x80); / Wait around one second /

}

}

/ --------------------------- End of file -----------------------------------/

你好!电脑出现:该内存不能为read与written,原因是比较复杂的,请对症下药!

答案原创,引用请说明,原作者:力王历史!偶然出现!点:确定或取消,即可!

1。配置错误!重启,出完电脑品牌后,按F8,安全模式,最后一次正确配置,回车,回车!

2。系统漏洞!360安全卫士或金山卫士,或可牛免费杀毒,修复:高危和重要的,其它忽略!

3。软件冲突!卸载不常用的软件,保持系统稳定,尤其是同类型的软件,不兼容!

4。软件版本过旧!使用:(驱动人生),更新:显卡驱动,声卡驱动!其它软件,覆盖安装!

5。病毒木马!杀毒软件,全盘扫描与自定义扫描,完毕后,隔离区,彻底删除!

6。恶评插件!可牛免费杀毒,金山卫士,或360安全卫士,清理恶评插件!

7。可疑启动项!360系统急救箱,开始急救,文件恢复区,彻底删除文件!

8。系统文件损坏!金山急救箱,扩展扫描,立即扫描,立即处理,重启电脑!

9。专业工具!去网上下载一个:read修复工具,修复,试试!

10。指令修复法!开始菜单,运行 ,输入cmd, 回车,在命令提示符下输入(复制即可) :

for %1 in (%windir%\system32\ocx) do regsvr32 /s %1

粘贴,回车,滚动完毕后,再输入:

for %1 in (%windir%\system32\dll) do regsvr32exe /s %1

回车!直到屏幕滚动停止为止,重启电脑!

以上就是关于C语言课程设计 成绩处理程序全部的内容,包括:C语言课程设计 成绩处理程序、电脑出现Ox09735fad指令引用的Ox06f57228内存,该内存不能为read、本人正在学习stm8,使用IAR编程,求代码把蜂鸣器弄响等相关内容解答,如果想了解更多相关内容,可以关注我们,你们的支持是我们更新的动力!

欢迎分享,转载请注明来源:内存溢出

原文地址:https://www.54852.com/zz/10078547.html

(0)
打赏 微信扫一扫微信扫一扫 支付宝扫一扫支付宝扫一扫
上一篇 2023-05-05
下一篇2023-05-05

发表评论

登录后才能评论

评论列表(0条)

    保存