#ifndef _STUDENT_H_#define _STUDENT_H_#include #include #include class Student : private std::string, private std::valarray{private: typedef std::valarray ArrayDb; //private method for scores output std::ostream & arr_out(std::ostream & os) const;public: Student() ... Read More
posted @ 2013-10-17 17:14
瓶哥
Views(361)
Comments(0)
Diggs(0)
#ifndef _STUDENT_H_#define _STUDENT_H_#include #include #include class Student{private: typedef std::valarray ArrayDb; std::string name; //contained object ArrayDb scores; //contained object //private method for scores output std::ostream & arr_out(std::ostream & os) const;publi... Read More
posted @ 2013-10-17 16:03
瓶哥
Views(455)
Comments(0)
Diggs(0)

浙公网安备 33010602011771号