Symulacja NAT na przedmiot Symulacje Komputerowe
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
/*
|
|
* Main.cpp
|
|
*
|
|
* Created on: 07-01-2017
|
|
* Author: Piotr Dergun
|
|
*/
|
|
|
|
#include "common.h"
|
|
#include "Node.h"
|
|
|
|
int main(int argc, char *argv[])
|
|
{
|
|
cout << "Obiekt PC1" << endl;
|
|
Node pc1;
|
|
|
|
cout << "Obiekt PC2" << endl;
|
|
Node pc2;
|
|
|
|
cout << "Lacze PC1 z PC2" << endl;
|
|
cout << pc1.connectNode(&pc2) << endl;
|
|
|
|
cout << "Lacze PC1 z PC2 (ponownie)" << endl;
|
|
cout << pc1.connectNode(&pc2) << endl;
|
|
return 0;
|
|
}
|