-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
initial commit and beginnig of the program
- Loading branch information
0 parents
commit be0e86a
Showing
2 changed files
with
27 additions
and
0 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | ||
} |