main

by mai on February 26th, 2012
No notes
Syntax: C++
Show lines - Hide lines - Show in textbox - Download
  1. #include <iostream>
  2. using namespace std;
  3. #include <string.h>
  4. #include <fstream>
  5. #include <stdlib.h>
  6. #include <header.h>
  7.  
  8.  
  9. int main()
  10. {
  11. ClPersonen personen;
  12. bool aktiv;
  13. char ident[100];
  14.  
  15. aktiv = true;
  16. personen.verarbeitePerson();
  17. personen.verarbeiteBeziehung();
  18.  
  19. while (aktiv != false) {
  20. cout << "Nach welcher Person suchen Sie? (ID) ";
  21. cin >> ident;
  22.  
  23. if (strcmp("*", ident)==0) aktiv=false;
  24. else {
  25. personen.suchePerson(ident);
  26. }
  27. }
  28. }

Leave a Reply

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

Subscribe to this comment feed via RSS