I have almost completed this question but I keep getting an error on line 4 in the .cpp. Any suggestions would be appreciated.
This is the question:
A bumper sticker company has decided to expand their business by creating bumper stickers for the front bumper. These bumper stickers would be designed to be read in the rear-view mirror of the car ahead. Therefore, the letters should be reversed (right-to-left) so their reflection in a mirror would be displayed left-to-right. For this project, you will create a program that will display a bumper sticker saying in reverse order.
Minimum Requirements:
You must include a class that has a string as a private data member (5 points).
You must include a member function to add a bumper sticker saying, such as: "Get Outta My Way"! (5 points)
Create another function to display all letters in the string in reverse order. This function must use a loop structure to accomplish this (5 points).
You will also need a client program that creates an object of your class and calls the function(s) you created to meet the requirements of this project (5 points).
Here is my work:
.h:
#ifndef BUMPER_H
#define BUMPER_H
#include <string.h>
#include <iostream>
#include <stdlib.h>
using namespace std;