Question: Explain to me why and what these errors mean and how to fix them? Compilation Error: mafa0632 hw3.cpp:7:8: warning: built-in function 'index' declared as non-function

Explain to me why and what these errors mean and how toExplain to me why and what these errors mean and how to fix them?

Compilation Error: mafa0632 hw3.cpp:7:8: warning: built-in function 'index' declared as non-function (-Wbuiltin-declaration-mismatc int index = 0 , i = 0; //variables used as index hw3.cpp:26:9: error: 'cout in namespace 'std' does not name a type std::cout>finishLine Result; In file included from hw3.cpp:3: /usr/include/c++/8/iostream:60:18: note: 'std::cin' declared here extern istream cin; /// Linked to standard input hw3.cpp:28:4: error: expected unqualified-id before 'while' while (finishLineResult!="done") Compilation Error: mafa0632 hw3.cpp:7:8: warning: built-in function 'index' declared as non-function (-Wbuiltin-declaration-mismatc int index = 0 , i = 0; //variables used as index hw3.cpp:26:9: error: 'cout in namespace 'std' does not name a type std::cout>finishLine Result; In file included from hw3.cpp:3: /usr/include/c++/8/iostream:60:18: note: 'std::cin' declared here extern istream cin; /// Linked to standard input hw3.cpp:28:4: error: expected unqualified-id before 'while' while (finishLineResult!="done")

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!