Borderou de evaluare (job #1882055)
Utilizator | Craciun Ioan-Flaviu flaviu_2001 | Data | 16 februarie 2017 22:10:04 |
---|---|---|---|
Problema | Datorii | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void read(int&)’:
user.cpp:38:20: error: ‘buff’ was not declared in this scope
while(!isdigit(buff[pos])) if(++pos == buff_size) fread(buff, 1,buff_size, stdin), pos = 0;
^
user.cpp:38:25: error: ‘pos’ was not declared in this scope
while(!isdigit(buff[pos])) if(++pos == buff_size) fread(buff, 1,buff_size, stdin), pos = 0;
^
user.cpp:38:29: error: ‘isdigit’ was not declared in this scope
while(!isdigit(buff[pos])) if(++pos == buff_size) fread(buff, 1,buff_size, stdin), pos = 0;
^
user.cpp:38:44: error: ‘buff_size’ was not declared in this scope
while(!isdigit(buff[pos])) if(++pos == buff_size) fread(buff, 1,buff_size, stdin), pos = 0;
^
user.cpp:40:19: error: ‘buff’ was not declared in this scope
while(isdigit(buff[pos]))
^
user.cpp:40:24: error: ‘pos’ was not declared in this scope
while(isdigit(buff[pos]))
^
user.cpp:40:28: error: ‘isdigit’ was not declared in this scope
while(isdigit(buff[pos]))
^
user.cpp:43:21: error: ‘buff_size’ was not declared in this scope
if(++pos == buff_size) fread(buff, 1, buff_size, stdin), pos = 0;
^
user.cpp: In function ‘void write(int)’:
user.cpp:57:24: error: ‘putChar’ was not declared in this scope
putChar(digs[n]);
^
user.cpp: In function ‘void putChar(const char&)’:
user.cpp:63:5: error: ‘outBuff’ was not declared in this scope
outBuff[outPtr++] = C;
^
user.cpp:63:13: error: ‘outPtr’ was not declared in this scope
outBuff[outPtr++] = C;
^
user.cpp:64:19: error: ‘buff_size’ was not declared in this scope
if (outPtr == buff_size) {
^
user.cpp: In function ‘int main()’:
user.cpp:94:12: error: ‘outBuff’ was not declared in this scope
fwrite(outBuff, 1, outPtr, stdout);
^
user.cpp:94:24: error: ‘outPtr’ was not declared in this scope
fwrite(outBuff, 1, outPtr, stdout);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !