I've always used the main function as follows, creating other functions:
int main() {
.
.
.
return 0;
}
How do entries work in the main function?
int main(int argc, char **argv){
We have a variable and a char, right? So I have to provide these values before running the program, right?
You could, in shell, execute the following line, for example:
./bin/programa -e ./data/entrada.txt -s ./data/saida.net
Correct?