Hi,

I am still new to C++ and I am having a little trouble compiling the following code, and couldn't figure out what went wrong:

#include <iostream.h>
#include <string.h>

using namespace std;

float x = 5.0f;
int _65Num = 65;

int mian()
{
    string str = "Hello World!";
    cout << str << endl;
    cout << x << "" << str << endl;
    cout << "65Num = " << _65Num << endl;
}

The question ask me to identify the problem which I tried to correct as much as I can but I still get some problem while compiling...

The original code was this:

#include <iostream.h> #include <string.h>

int mian()
{
    string str = "Hello World!"
    cout << str << endl;
    cout << float x = 5.0f * str << end;
    int 65Num = 65;
    cout << "65Num = " < 65Num << endl;
}

Hope someone can point me in the right direction.

...Ok.. I spotted the mistake now... Thanks for the hint.
I feel really stupid now... >_<

What about return 0?

[edit]
nvm....