nije mi jasno u cemu je greska. Probao sam prvo:
string s;
while(getline(infile2, s)) {stock = atoi(s); i++;}
i kompajler (VS6) trazi treci argument. Medjutim kad dodam "" ili "\t" kao treci argument, onda ocekuje 2 argumenta.
Ako ne verujete, poslacu screenshot :)
string s;
while(getline(infile2, s)) {stock = atoi(s); i++;}
i kompajler (VS6) trazi treci argument. Medjutim kad dodam "" ili "\t" kao treci argument, onda ocekuje 2 argumenta.
Ako ne verujete, poslacu screenshot :)