Thread View: att.lang.c++
2 messages
2 total messages
Started by none
Wed, 12 Aug 1998 00:00
Help on script
Author: none
Date: Wed, 12 Aug 1998 00:00
Date: Wed, 12 Aug 1998 00:00
22 lines
1246 bytes
1246 bytes
To whom this may concern:
I have run into a problem with a script. This the error I get:
C:\Program Files\Microsoft Visual
Studio\MyProjects\input_stream\Times.cpp(8) : error C2065: 'end1' :
undeclared identifier
This is my sourse code:
#include <iostream.h>
void main()
{
char name[60];
cout <<"Enter a name or your computer will die a painful death!...\n";
cin >> name;
cout << "Good job! It looks like you can spell you name!" << name<<end1;
}
The solution the MSDN Library disc gives me does not apply at all. To who
ever responds please respond in laymans terms. (I am only 14)
Re: Help on script
Author: Dylan Ungarian
Date: Thu, 13 Aug 1998 00:00
Date: Thu, 13 Aug 1998 00:00
32 lines
1318 bytes
1318 bytes
In line 8 of your code, 'end1' must be 'endl' with a lowercase 'L' not a
'1'.
Now I must ask: What is the point of this program?
Dylan
none wrote in message ...
>To whom this may concern:
>
> I have run into a problem with a script. This the error I get:
>
> C:\Program Files\Microsoft Visual
>Studio\MyProjects\input_stream\Times.cpp(8) : error C2065: 'end1' :
>undeclared identifier
>
>This is my sourse code:
>
> #include <iostream.h>
>
>void main()
>{
> char name[60];
> cout <<"Enter a name or your computer will die a painful death!...\n";
> cin >> name;
> cout << "Good job! It looks like you can spell you name!" << name<<end1;
>}
>
>The solution the MSDN Library disc gives me does not apply at all. To who
>ever responds please respond in laymans terms. (I am only 14)
>
>
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads