// AKwBZ1.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include #include #include #include #include using namespace std; int GRAPH[20][20] = {}; int TOTV; void printGraph(int V) { cout << " "; for (int b = 0; b < V; b++) cout << b + 1 << " "; cout << endl; for (int i = 0; i> outV; ssin >> inV; GRAPH[outV-1][inV-1]++; } } } else { cout << "Error loading"; } } int main() { string cmd; load(); printGraph(TOTV); while (1) { cout << "Input command: "; cin >> cmd; if (cmd == "exit" || cmd=="e") return 0; else if (cmd == "print") printGraph(TOTV); } return 0; }