#include<iostream>
#include<string>
using namespace std;
using std::string;
/*这是一个用于人事管理的题,要求核对身份证号和生日信息,可我写的只能循环一次,求问怎么改才能循环*/
class Date
{
public:
/*Date(int y,int m,int d)
{
year=y;
month=m;
......................
阅读全部
|
学渣翻身
贴于 2015年4月9日 16:19
hide
bbsi
#include<iostream>
#include<string>
#include<cstring>
using namespace std;
const n=100;
const m=50;
int stringmatch(char ch1[],char ch2[])
{
int i,j;
for(i=0;i<n-m;)
{
......................
阅读全部
|
一条沙丁鱼
贴于 2015年4月5日 20:34
hide
bbsi
#include <iostream>
using namespace std;
class volume
{
private:
int length;
int width;
int heigth;
public:
void set_volume(void);
void show_volume(void);
};
......................
阅读全部
|
hzj199603
贴于 2015年3月29日 22:26
hide
bbsi
#include <malloc.h>
#include <iostream>
using namespace std;
#define error -1;
#define ok 1;
typedef int ElemType;
typedef int Status;
typedef struct LNode
{
ElemType data;
struct LNode *next;
}LNode,*LinkList;
......................
阅读全部
|
一天一天谎言
贴于 2015年3月28日 19:55
hide
bbsi
#include<iostream>
#include<cmath>
#include<bitset>
using namespace std;
int main()
{
int const max_number(100);
int const max_test((int)sqrt ((double)max_number));
bitset<max_number+1> numbers;//101个0
numbers.set();//101个1
numbers[1]=0;
......................
阅读全部
|
scufnzy
贴于 2015年2月16日 14:32
hide
bbsi
#include <iostream>
using namespace std;
#include <string>
string name[50];
string num[50];
int n;
int main(){
void putin();
void putout(string findName);
string findName;
cout<<"Please putin the number of the class:";
......................
阅读全部
|
我我哦我
贴于 2015年2月6日 12:56
hide
bbsi
#include <iostream>
int main()
{
int x = 5;
int y = 7;
std::cout << “\n“;
std::cout << x + y << “”<< x * y;
std::cout << “\n”;
return θ
阅读全部
|
hhhhh焕
贴于 2015年2月3日 22:21
hide
bbsi
#include <iostream>
using namespace std;
int main()
{
cout<<“rf”;
}
阅读全部
|
天使梦魔
贴于 2015年1月22日 20:25
hide
bbsi
#include <iostream>
using namespace std;
int main()
{
cout<<“rf”;
}
阅读全部
|
天使梦魔
贴于 2015年1月22日 20:25
hide
bbsi
#include<stdio.h>
int main()
{
while(1)
{
char s[2001];
char c;
int i=0;
while((c=getchar())!='\n')
{
s[i]=c;
i++;
......................
阅读全部
|
Mo0oM
贴于 2015年1月4日 21:16
hide
bbsi