main

by mai on February 26th, 2012
No notes
Syntax: C++
Show lines - Hide lines - Show in textbox - Download
#include <iostream>
using namespace std;
#include <string.h>
#include <fstream>
#include <stdlib.h>
#include <header.h>
 
 
int main()
{
ClPersonen personen;
bool aktiv;
char ident[100];
 
aktiv = true;
personen.verarbeitePerson();
personen.verarbeiteBeziehung();
 
while (aktiv != false) {
cout << "Nach welcher Person suchen Sie? (ID) ";
cin >> ident;
 
if (strcmp("*", ident)==0) aktiv=false;
else {
       personen.suchePerson(ident);
      }
}
}

Leave a Reply

Note: XHTML is allowed. Your email address will never be published.

Subscribe to this comment feed via RSS