pans
2016-12-30 7f63f973141f973faff7896087697f5150332864
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#include <Windows.h>
#include <string>
#include <iostream>
 
#include "DBuntil.h"
 
using namespace std;
 
 
int main(int argc, char *argv[])
{
    int i=i;
    DBuntil dbu = DBuntil();
    person p={};
    p = dbu.db_rearch(i);
    if(p.p_id != NULL)
    {
        cout<<p.p_id<<endl;
        cout<<p.name<<endl;
    }else
        cout<<"person is null"<<endl;
    system("pause");
    return 0;
}