[OOP]hw002 Student2

这是一个命令行界面的程序,用于读取并显示学生的名字和分数。用户可以输入任意数量的学生,每个学生可以有多个课程成绩。程序使用可变数组(如容器vector)存储课程名和分数。尽管实现了功能,但存在一些改进点:需要优化makefile,增加学生功能的函数,提高代码规范性和执行效率。
摘要由CSDN通过智能技术生成

Write a CLI program that reads scores and name of students, and prints out a summary sheet.

The user can input as many students as possible. One students can have as many courses as possible.

One course consists the name of the course and the marks the student got.


没有指定每个学生的课程数,那么使用可变数组(容器verctor)来存放课程名和课程分数


// name: student.h
// author: Amrzs
// date: 2014/03/13

#ifndef STUDENT_H
#define STUDENT_H

#include <string>
#include <
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值