錯誤訊息
Jan. 22, 2015
去年修資料結構的時候,我竟然有天晚上抓狂到寫了這種東西。正事都還沒做好就在想搞笑,為什麼不好好debug呢!!! 結果當初成績還是慘,而且我剛剛想了好一陣子才知道我到底在寫什麼哎。修過資結的勸世文啊,需要大家幫忙轉貼...結果神人會不會開始噓說,我怎麼連這點挫折都受不了!!!
/* * * * * * * * * * * */
In file included from main.cpp:3:
schedule.h: In function 'Health& stayUp(Single*)':
everydayLife.cpp:3:48: error: no viable conversion of 'coder' from 'Single' to 'Couple', which I'm regretted to inform.
assert( debugging(MIDNIGHT) == DONE ); watchMovie(coder); date++; }
crush18.cpp:71:14: warning: variable 'crush' set, but would never truly be used. Stop daydreaming.
if( !profess(crush) & idx>= 15 ){ delete crush; crush=0; continue; }//if rejected, then:
main.cpp:202:6: error: Field 'Mine::_girlFriend' not found. Did you mean 'friendOfMine::_girlFriend'?
me->_girlFriend->frenchKiss(seconds); Facebook::upload( selfie(*me, *(me->_girlFriend)) );
finalExam.cpp:153:10: In function 'Exam& operator+=(unsigned)':
finalExam.cpp:426:13: In function 'Grades* pass( Grades& ) const':
finalExam.cpp:119:8: error: cannot convert from 'const class Grades*' to 'class Grades*' Conversion loses qualifiers. What is done, cannot be undone.
return &( this->semester[3]._flunked; }
love.cpp:16:12: error: out-of-line definition of 'date' does not match any declaration in 'EverydayLife'; did you mean 'Engineering::work'?
bool Love::date(Keypal& another){
enginnering.h:97:6: note: 'work' declared here. Let's face it.
bool work(Place* =_desk); vector<Cup*> getMoreCoffee(size_t =3, bool asleep =false);
fatal error: too many errors emitted, stopping now.
留言列表