Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

In C++, I have to write my lab's information in header.h and include it in my main.cpp. How should I write and include it in

In C++, I have to write my lab's information in header.h and include it in my main.cpp. How should I write and include it in main.cpp. Here is my lab header's information:

const char PROGRAMMER[30] = "Fatima Gh";

const char CLASS[5] = "CS1B";

const char SECTION[25] = "MW: 7:30p - 10:00p";

const int LAB_NUM = 3;

const char LAB_NAME[30] = "Selection & Repetition";

/* print author, lab num and name and date

OUTPUT Class Heading*/

cout << " * PROGRAMMED BY : " << PROGRAMMER;

cout << " * " << setw(14) << "CLASS" << ": " << CLASS;

cout << " * " << setw(14) << "SECTION" << ": " << SECTION;

cout << " * LAB #" << setw(9) << LAB_NUM << ": " << LAB_NAME;

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

To find integral of sin(logx) .

Answered: 1 week ago

Question

What is Centrifugation?

Answered: 1 week ago

Question

=+ Are they breakable for any reason?

Answered: 1 week ago