37 lines
No EOL
699 B
C++
37 lines
No EOL
699 B
C++
#include <iostream>
|
|
#include <cstdlib>
|
|
#include <ctime>
|
|
#include "tools.hpp"
|
|
#include <typeinfo>
|
|
|
|
#include "graph.hpp"
|
|
|
|
// int countNumbers(const std::string& s) {
|
|
// std::stringstream ss(s);
|
|
// int number;
|
|
// int count = 0;
|
|
|
|
// while (ss >> number) {
|
|
// count++;
|
|
// }
|
|
// return count;
|
|
// }
|
|
// std::string& strock(){
|
|
// std::string input;
|
|
// std::cout << "Enter links for Node " << '\t'<< std::endl;
|
|
// std::getline(std::cin, input);
|
|
// return input;
|
|
// }
|
|
|
|
int main(){
|
|
Graph graph;
|
|
std :: cout << "Enter size: ";
|
|
std::cin >> graph.size;
|
|
graph.fill(1);
|
|
|
|
|
|
|
|
|
|
std::system("pause");
|
|
return 0;
|
|
} |