/* * 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; }