Question: #ifndef MAIN _ SAVITCH _ SEQUENCE _ H #define MAIN _ SAVITCH _ SEQUENCE _ H #include / / Provides size _ t namespace main
#ifndef MAINSAVITCHSEQUENCEH
#define MAINSAVITCHSEQUENCEH
#include Provides sizet
namespace mainsavitch
class sequence
public:
TYPEDEFS and MEMBER CONSTANTS
typedef double valuetype;
typedef sizet sizetype;
static const sizetype CAPACITY ;
CONSTRUCTOR
sequence;
MODIFICATION MEMBER FUNCTIONS
void start;
void advance;
void insertconst valuetype& entry;
void attachconst valuetype& entry;
void removecurrent;
CONSTANT MEMBER FUNCTIONS
sizetype size const;
bool isitem const;
valuetype current const;
private:
valuetype dataCAPACITY;
sizetype used;
sizetype currentindex;
;
#endif
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
