I'm getting a syntax error on the second << (the one just after FIRSTNAME) in the second line of instructor provided code. I don't know what I'm doing wrong. All I want to do is print my first and last name. I know it's a funny way to print my name in a program but its the requirements for the assignment. I'm supposed to create a date.h file and define FIRSTNAME and LASTNAME so they print out my name. This is my first post and I'm very new to c++, so please forgive my ineptitude.
What are you expecting this to print out? Because this doesnt make a whole lot of sense. Could you tell us What you are trying to do?
Edit: I know its your first post ever. It says so in your first post ever :D dont need to apologize.
Although you're gonna have to answer my question if Im gonna be able to help you.
I used the ** just to point out where the error was, its not really in my code. All I want to do is print out my name. I defined FIRSTNAME and LASTNAME in a separate date.h file.