Hey all, a little help needed

Category: C++ Questions    |    9 views
Hi there, new to the community and first of all just wanted to say its great to be here. I’m rather new to C++ and i was having an issue perhaps someone could clear up for me.

Alright, our instructor for a class im taking would give us simple programs that we needed to make little additions/manipulations to. "end1" would coincide with text that was in quotations. From what i understand the use of "end1" is to help ensure text in quotations compile and execute more accurately? Here is an example just to illustrate my point.

#include<iostream>

using namespace std ;

int main() ;
{
  cout << end1 ;
  cout << "Hello world." << end1 ;

  return (0) ;
}

For some reason whenever i try to compile my own code while including "end1", I get errors stating that "end1 is an unknown identifier". I apologize for not having the exact code and errors to copy and paste here but im at work at the moment. Just looking for any direction here as to why it might be giving me this error. Appreciate your time guys and have a great day

-alias

Share/Save/Bookmark

1 Star2 Stars
Loading ... Loading ...

0 responses so far!

Leave a Comment

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word