Загрузить файлы в «/»
This commit is contained in:
commit
5caf37e303
3 changed files with 179 additions and 0 deletions
37
main.graph.cpp
Normal file
37
main.graph.cpp
Normal file
|
@ -0,0 +1,37 @@
|
|||
#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;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue