《设计模式与XML》实验报告.pdfVIP

  • 5
  • 0
  • 约2.91千字
  • 约 5页
  • 2026-04-07 发布于天津
  • 举报

实验序号1

学号姓名专业、班

实验地点指导教师时间

一、实验目的及要求

1.己设计学生类,再把该类Singleton的类,main()

2.己设计类,再把该类ProtoType的类main()

3.实Adaptermain()

、实验设及要求

WindowsVC++6.0

、实验

1.singletonc++

#includeiostream.h

classStudent

{

protected:

Student(){};

private:

staticStudent*_instance;

public:

staticStudent*Instance();

charID[6];

charName[10];

intage;

charsex[2];

charstatus[10];

voi

文档评论(0)

1亿VIP精品文档

相关文档