Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Hello on C++, I need help for someone to help me fix these 2 errors for undeclared identifier 'cout'; and error #2 for the expected

Hello on C++, I need help for someone to help me fix these 2 errors for undeclared identifier 'cout'; and error #2 for the expected variable name in 'lambda capture list'. Had a hard time figuring it out. Thanks
image text in transcribed
eplit Features Careers Blog Pricing Jam Teams for Education Log in C++ Run & Share 7 1 include -79) printf("NBA"); if (people(1) 15 11 (people(1) 73) 16 printf("LB"): 17 printf("Tennis"); 18 printf("L"); 19 > 20 if (people[1] 71) 21 printf("PGA"): 22 printf("soccer"); 23 } 24 if (peoplefil 70) 25 printf("UFC"); 26 printf("MASCAR"); 27 > clang-7-pthread -stdCh17 - main main.cpp noin.cpp:4:5: error: use of undeclared identifier 'cout'; did you mean 'std::cout'? cout > return 0; 34 35 )

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

Provide examples of KPIs in Human Capital Management.

Answered: 1 week ago

Question

What are OLAP Cubes?

Answered: 1 week ago