Skip to content

Commit

Permalink
initial commit and beginnig of the program
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevin-Ax committed Feb 5, 2022
0 parents commit be0e86a
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
Binary file added a.out
Binary file not shown.
27 changes: 27 additions & 0 deletions teamMaker.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
#include <iostream>
#include <iomanip>
#include <fstream>
#include <vector>
#include <string>

int main(){
//declaration of the variables;
std::string arquive;
std::string read;
int teams;
std::ifstream in;
std::vector<std::string> list;
std::cout<<"Digite o nome do arquivo com os nomes: "<<std::endl;
std::cin>>arquive;
std::cout<<"Quantos times devem ser feitos? [Digite um número inteiro]"<<std::endl;
std::cin>>teams;

//opening the arquive;
in.open(arquive);
std::getline(in, read);
list.push_back(read);



return 0;
}

0 comments on commit be0e86a

Please sign in to comment.