Kindly help me regarding the code i have given below : i am writing this code for lexical analyzer to detect tokens , identifiers and operater's from a file. But the problem is that when ever i pass the file path and run the code it does't reads the file instead it keeps on giving the output that "UNABLE TO OPEN FILE".  Kindly help me 








    #include<iostream>
    #include<fstream>
    #include<stdlib.h>
    #include<string.h>
    #include<ctype.h>
     
    using namespace std;
     
    int isKeyword(char buffer[]){
    	char keywords[32][10] = {"auto","break","case","char","const","continue","default",
    							"do","double","else","enum","extern","float","for","goto",
    							"if","int","long","register","return","short","signed",
    							"sizeof","static","struct","switch","typedef","union",
    							"unsigned","void","volatile","while"};
    	int i, flag = 0;
    	
    	for(i = 0; i < 32; ++i){
    		if(strcmp(keywords[i], buffer) == 0){
    			flag = 1;
    			break;
    		}
    	}
    	
    	return flag;
    }
     
    int main(){
    	char ch, buffer[15], operators[] = "+-*/%=";
    	 fstream inFile;
        int i , j =0;
        inFile.open("C:\Users\Muhammad Shaeel\Desktop\CC\Lexical Analyser Code\Lexical Analyser Code\program.txt.txt");
        if (!inFile) {
            cout << "Unable to open file";
    		exit(0);
    	}
    	
    	while(!inFile.eof()){
       		ch = inFile.get();
       		
    		for(i = 0; i < 6; ++i){
       			if(ch == operators[i])
       				cout<<ch<<" is operator\n";
       		}
       		
       		if(isalnum(ch)){
       			buffer[j++] = ch;
       		}
       		else if((ch == ' ' || ch == '\n') && (j != 0)){
       				buffer[j] = '\0';
       				j = 0;
       				   				
       				if(isKeyword(buffer) == 1)
       					cout<<buffer<<" is keyword\n";
       				else
       					cout<<buffer<<" is indentifier\n";
       		}
       		
    	}
    	
    	inFile.close();
    	
    	return 0;
    	system("pause");
    }