正在加载图片...
上海交通大学交大密西根 联合学院 ■ UM-SJTU Joint Institute University of Michigan Shanghal Jiao Tong University A few More Details To use the member date and function defined in another class,you could declare that class to be the base class of your class using syntax like class <your_class>:public <another_class> In your later homework,your might need to define a particular class for the task you are required to accomplish.For the purpose of automatic program grading,you will be given some function like disp (so that you can focuses on algorithm design instead of the output format.A few More Details A few More Details • To use the member date and function defined in another class, you could declare that class to be the base class of your class using syntax like class <your_class> : public <another_class> • In your later homework, your might need to define a particular class for the task you are required to accomplish. For the purpose of automatic program grading, you will be given some function like disp () so that you can focuses on algorithm design instead of the output format
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有