-->
当前位置:首页 > Luz 第2658页
Luz

Luz 管理员

暂无介绍

89860 篇文章 33 次评论

PROGRAMMING:Data maximum problem (overload + function template)

Luz5年前 (2021-05-10)445
Two classes are designed as follows: class time has three data members, HH, mm, SS, representing hours, minutes and seco…

PROGRAMMING:Time conversion

Luz5年前 (2021-05-10)441
Define a time class time with data members hour, minute, second and other member functions: constructor is used to initi…

PROGRAMMING:Simulation Implementation of set (class template)

Luz5年前 (2021-05-10)370
We can use a class to simulate set and set operation, add operation to increase set elements, delete operation to delete…

PROGRAMMING:Data spacing problem (overload + function template)

Luz5年前 (2021-05-10)446
Three classes are designed as follows: class CTime has three data members, HH, mm, SS, representing hours, minutes and s…

PROGRAMMING:Polygon perimeter calculation (inheritance)

Luz5年前 (2021-05-10)525
The following framework of polygon base classes is givenclass polygon{ protected: int number;// Number of edges, up to…

PROGRAMMING:Calculation of distance between two points

Luz5年前 (2021-05-10)496
A basic class framework is givenclass Point_ 1D{ protected:float x;// The X coordinate of 1D pointpublic:Point_ 1D(flo…

PROGRAMMING:Distance from point to origin (inheritance)

Luz5年前 (2021-05-10)424
A basic class framework is givenclass Point_ 1D{ protected:float x;// The X coordinate of 1D pointpublic:Point_ 1D(flo…

PROGRAMMING:Time simulation

Luz5年前 (2021-05-10)515
The framework of the base class time is given as follows:class Time{ protected:int second;int minute;int hour;public:vo…

PROGRAMMING:CPP score statistics of students

Luz5年前 (2021-05-10)475
After "student CPP score calculation", modify the person and student classes, and add two parameterless constructors res…

PROGRAMMING:Calculation of students' CPP scores

Luz5年前 (2021-05-10)620
The framework of human base class is given as followsclass Person{protected:string name;int age;public:Person();…