我有一个英语问题请大侠帮我看看点拨我一下感激In particular, even though our homework vector will grow as needed to accommodate grades for as many homework assignments as our students can tolerate, our program doesn't need to worr

来源:学生作业帮助网 编辑:六六作业网 时间:2024/12/24 07:03:33
我有一个英语问题请大侠帮我看看点拨我一下感激Inparticular,eventhoughourhomeworkvectorwillgrowasneededtoaccommodategradesfor

我有一个英语问题请大侠帮我看看点拨我一下感激In particular, even though our homework vector will grow as needed to accommodate grades for as many homework assignments as our students can tolerate, our program doesn't need to worr
我有一个英语问题请大侠帮我看看点拨我一下感激
In particular, even though our homework vector will grow as needed to accommodate grades for as many homework assignments as our students can tolerate, our program doesn't need to worry about obtaining the memory to store all those grades.
这个句话的主干部分我理解是
even though our homework vector will grow,our program doesn't need to worry about obtaining the memory to store all those grades.
我理解这个部分的意思是:即使名字为homework的Vector实例对像的大小变得更大了,我们的程序也不用担心来为多出来元素向系统申请更多的内存来保存它们.
这是句子的主干.
但是,在句子中有一个长长的修饰部分,我却是如何也看不明白.
as needed to accommodate grades for as many homework assignments as our students can tolerate
这个是什么意思?我都看不明白这个部分的结构.请大家帮助帮助我吧,求求大侠们了.
这个句来源自
Accelerated C++
第三章第二节

我有一个英语问题请大侠帮我看看点拨我一下感激In particular, even though our homework vector will grow as needed to accommodate grades for as many homework assignments as our students can tolerate, our program doesn't need to worr
as needed 修饰even though our homework vector will grow整体意思是“即使我们的Vector实例对像根据需要而变大”
to accommodate grades 表even though our homework vector will grow as needed 的目的
for as many homework assignments as our students can tolerate 表grades的目的,“as many homework assignments as our students can tolerate”意思为“我们学生可以允许的Homework任务数”
even though our homework vector will grow as needed to accommodate grades for as many homework assignments as our students can tolerate意思为“即使我们的Vector实例对象根据需要而变大以适应(我们学生可以允许的Homework的任务数所对应的)级别”
这句话的大意估计是对象要根据级别变化,而级别(grades)和任务的多少有关.