Error compiling C program in gcc
Sir I have written following program in gcc i m getting errors while compiling it.need help....!
#include<stdio.h>
#include<string.h>
int check_authentic
{
int auth_flag = 0;
char password_
strcpy(
if(
auth_flag = 1;
return auth_flag;
}
int main (int argc,char *argv[])
{
if(
else
return 1;
}
**********Error Message**********
asif@asif-
test.c: In function ‘check_
test.c:6: error: stray ‘\302’ in program
test.c:6: error: stray ‘\240’ in program
test.c:6: error: stray ‘\302’ in program
test.c:6: error: stray ‘\240’ in program
test.c:8: error: stray ‘\302’ in program
test.c:8: error: stray ‘\240’ in program
test.c:9: error: stray ‘\302’ in program
test.c:9: error: stray ‘\240’ in program
test.c:10: error: stray ‘\302’ in program
test.c:10: error: stray ‘\240’ in program
test.c:11: error: stray ‘\302’ in program
test.c:11: error: stray ‘\240’ in program
test.c: In function ‘main’:
test.c:16: error: stray ‘\302’ in program
test.c:16: error: stray ‘\240’ in program
test.c:18: error: stray ‘\302’ in program
test.c:18: error: stray ‘\240’ in program
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- sidra
- Solved:
- Last query:
- Last reply: