anyone please help me simple script

What's wrong ?

I:\programmer>gcc a.c -o a
a.c:1:2: error: invalid preprocessing directive #Ô
a.c:2:7: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'namespa
ce'
a.c: In function 'main':
a.c:7:1: error: 'cout' undeclared (first use in this function)
a.c:7:1: note: each undeclared identifier is reported only once for each functio
n it appears in

[code]
#‎include‬ <iostream>
using namespace std;

void main ()
{
int x= 4 - (1+4)*10/6;
cout<<x;

}
main must return int

You have an invisible character between # and include - you should remove it.
Topic archived. No new replies allowed.