Kind Of Stuck

I am taking classes to minor in software engineering, but in my first class I have come to an impasse. Class has not started but I want to get a head start. I cannot figure out what I am doing wrong, could someone give me pointers.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include <isostream>
#include <string> 

using namespace std;

int main()
{
	cout << " ********************************** " << endl;
	cout << " *    Programming Assignment 1    * " << endl; 
	cout << " *    Computer Programming 1      * " << endl;
	cout << " *    Author:                     * " << endl;
	cout << " *    Due Date: Thursday, Sept 1  * " << endl; 
	cout << " ********************************** " << endl;

	return 0; 
}


I get an error at the isostream, it said that is can not open source file and the first cout, it also said that cout is undefine. any pointer? I am useing Visual Studio
You added an extra letter S in there. It should be

#include<iostream>
iostream stands for Input Output STREAM.
To add,

iostream: in/out stream

In C you will run across stdio.h. Same thing, standard in/out.

I would imagine that someone saying "io" to you means the same thing across many computer languages.
Last edited on
WoW... Something so simple as a spelling error. Thanks guys.
Oh, you know what you can do:
1
2
3
cout << "This is a line of code without a semi-colon" << endl
     << "The cout from last line is still in effect" << endl
     << "Now for the semi-colon" << endl;
Last edited on
Does the semi-colon actually end the statement?
Yes.
Topic archived. No new replies allowed.