📄 student.cpp
字号:
#include<stdio.h>
#include<conio.h>
#include"student.h"
#include<alloc.h>
#include<string.h>
void InitStudent(Student &a){
printf("\nIntroduceti numele:");
a.nume=new char;
scanf("%s",a.nume);
printf("\n Si nota:");
scanf(" %d",&a.nota);
}
void AfisStudent(Student a){
printf("\nNUME :%s NOTA :%d",a.nume,a.nota);
}
void StergeStudent(Student *a){
delete(a);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -