Designware
Technical User
- Sep 24, 2002
- 202
Hi,
My son is learning C++ in his high school class, and I don't know C++ at all. He brought his source code home, and we loaded it into the free Express Edition and it would not run. He then created a most simple program to see if he could get it to run. Here is the source.
#include <iostream>
using namespace std;
main()
{
cout<<"Hello"<<endl;
return 0;
}
It then gives the error message: error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
At school, he can get this to run, but not here. What do we need to do different using the Express Edition? (I know we can't create a compiled program with this Express Edition, but we don't want or need to.)
Thanks in advance for your help.
Dale
My son is learning C++ in his high school class, and I don't know C++ at all. He brought his source code home, and we loaded it into the free Express Edition and it would not run. He then created a most simple program to see if he could get it to run. Here is the source.
#include <iostream>
using namespace std;
main()
{
cout<<"Hello"<<endl;
return 0;
}
It then gives the error message: error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
At school, he can get this to run, but not here. What do we need to do different using the Express Edition? (I know we can't create a compiled program with this Express Edition, but we don't want or need to.)
Thanks in advance for your help.
Dale