求助猴子选大王可视化编程

来源:百度知道 编辑:UC知道 时间:2024/06/27 15:00:57
DOS下的编程已经有了 ,现在要用C++可视化编程,不知道如何下手,请高人指教下,源程序如下
#include <conio.h>
#include <iostream.h>
struct NodeType // 结点的结构定义
{ int num; // 编号子域
char name[20]; // 姓名子域
NodeType *next; // 指针域
};
class Jose //类声明
{ private: NodeType *Head;
public:
Jose( ){ Head=new NodeType; // 为头结点申请空间
Head->next=Head; // 头结点Head 形成空环
};
~Jose(){ };
void creat();
void outs();
};
void Jose::creat()
{ int i=0, n;
NodeType *newp, *pre, *h;
pre= Head;
cout<<"\n 输入总猴子数 n="; cin>>n;
for(i=0;i<n;i++) // 循环
{ newp=new NodeType; // 申请数据元素结点空间

在PUDN上找了个
http://61.137.90.75/downloads96/doc/fileformat/47651462c++.rar
猴子选大王程序 大学实习的题目 对一些同学有帮助,应该就是你要的拉。

可视化?
你要做成EXE窗体文件吗?