Windows Server 2008 DHCP服务器的授权
2009-08-19 21:56
363 查看
// struct1.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
using namespace std;
struct student
{
char name[50];
float sorce;
student *next;
};
student *head;
void create()
{
student *ls;
student *le;
ls = new student;
le = ls;
head = NULL;
cout<<"Input name and sorce "<<endl;
cin>>ls->name>>ls->sorce;
while (strcmp(ls->name,"null") != 0)
{
(head == NULL)?head = ls: le->next = ls;
le = ls;
ls = new student;
cout<<"Input name and sorce again"<<endl;
cin>>ls->name>>ls->sorce;
}
le->next = NULL;
delete ls;
}
void showl()
{
while (head)
{
cout<<head->name<<"\t|\t"<<head->sorce<<endl;
head = head->next;
}
}
int _tmain(int argc, _TCHAR* argv[])
{
create();
showl();
system("pause");
return 0;
}
//
#include "stdafx.h"
using namespace std;
struct student
{
char name[50];
float sorce;
student *next;
};
student *head;
void create()
{
student *ls;
student *le;
ls = new student;
le = ls;
head = NULL;
cout<<"Input name and sorce "<<endl;
cin>>ls->name>>ls->sorce;
while (strcmp(ls->name,"null") != 0)
{
(head == NULL)?head = ls: le->next = ls;
le = ls;
ls = new student;
cout<<"Input name and sorce again"<<endl;
cin>>ls->name>>ls->sorce;
}
le->next = NULL;
delete ls;
}
void showl()
{
while (head)
{
cout<<head->name<<"\t|\t"<<head->sorce<<endl;
head = head->next;
}
}
int _tmain(int argc, _TCHAR* argv[])
{
create();
showl();
system("pause");
return 0;
}
相关文章推荐
- Windows Server 2008 R2 由于没有远程桌面授权服务器可以提供许可证,远程会话被中断。
- Windows server 2008 r2 DHCP服务器搭建与管理
- Windows Server 2008 R2终端服务器远程授权激活
- 如何在Windows Server 2008 上添加RD (远程桌面)会话主机配置的远程桌面授权服务器
- Windows Server 2008 R2 由于没有远程桌面授权服务器远程会话被中断
- Windows Server 2008 DHCP服务器架设攻略
- Windows Server 2008 RemoteApp(二)---部署激活远程桌面授权服务器
- windows server 2008配置之DHCP服务器
- windows server 2008DHCP服务器搭建
- windows server 2008 DNS ,DHCP 服务器的配置(支持IPv6) :
- Windows 2008 R2 DHCP服务器迁移至 Windows Server 2012
- Windows Server 2008 R2终端服务器远程授权激活
- Windows 2008 R2 DHCP服务器迁移至 Windows Server 2012-1 推荐
- 激活Windows Server 2003 2008终端授权服务器 (RemoteApp)
- Windows Server 2008 DHCP服务器搭建与管理
- windows server 2008 DHCP服务器的配置
- Windows 2008 R2 DHCP服务器迁移至 Windows Server 2012-2
- Windows Server 2008 R2 DHCP服务器安装和配置案例
- Windows Server 2008 R2终端服务器远程授权激活
- 迁移Windows Server 2003的DHCP服务器到Windows Server 2008