Record Detail

Compile Error

In file included from /in/compile/Dlist.h:80:0,
                 from /in/compile/dlist_driver.cpp:6:
/in/DlistImpl.h: In function 'void read(List&, int)':
/in/DlistImpl.h:172:9: error: 'cin' was not declared in this scope
         cin >> *temp;
         ^~~
/in/DlistImpl.h:172:9: note: suggested alternative:
In file included from /in/compile/dlist_driver.cpp:3:0:
/usr/include/c++/7/iostream:60:18: note:   'std::cin'
   extern istream cin;  /// Linked to standard input
                  ^~~
/in/compile/Makefile:10: recipe for target 'buildDlist' failed
make: *** [buildDlist] Error 1

Information

Submit By
Type
Submission
Homework
Project 5
Language
C++
Submit At
2021-07-26 15:49:19
Judged At
2021-07-26 15:49:19
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes