Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

How do I fix this error? facultyAPP.cpp ] Faculty.h Faculty.cpp 1 // Faculty.h 2 #include 3 using namespace std; 5 6 #ifndef FACULTY_H #define FACULTY_H

How do I fix this error?

image text in transcribed

image text in transcribed

facultyAPP.cpp ] Faculty.h Faculty.cpp 1 // Faculty.h 2 #include 3 using namespace std; 5 6 #ifndef FACULTY_H #define FACULTY_H class Faculty public: Faculty ; void set Na mestring, string); void setID(string); string print ; protected: string first_name; string last_name; string id; 20 # endif facultyAPP.cpp (*] Faculty.h Faculty.cpp #include Faculty. h** 3 Faculty: : Faculty set Name("",""); 6 8 voi d Facultyri set Na mestring first, string last, 9 first_name = first; last_name = last; 12 13 void Faculty::setID string id) 14 this-> id = id; 16 L) return first name + " " + last name 18string Faculty i got Na meo 19 } rces al Compile Log Debug Find Results 3 Close Message [Warning) command line option -std=c99' is valid for C/ObjC but not for C++ [Error] definition of implicitly-declared constexpr Faculty:Faculty 6 Downloads\cclplus.exe 6 Downloads\Faculty.cpp

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

explain why i t i s not valid t o evaluate 2 2 + 3 / 7 7

Answered: 1 week ago

Question

Define Management or What is Management?

Answered: 1 week ago

Question

What do you understand by MBO?

Answered: 1 week ago

Question

5. Identify three characteristics of the dialectical approach.

Answered: 1 week ago

Question

6. Explain the strengths of a dialectical approach.

Answered: 1 week ago

Question

4. Explain the strengths and weaknesses of each approach.

Answered: 1 week ago