En-tête visual studio

Solved
VS -  
 VS -
Hello,

I have a problem with my header. When I enter the line "using namespace std;", VS displays the following error message:

"Error: Warning PCH: The end of the header cannot be located in a macro or in a #if block. No IntelliSense PCH file has been generated."
And this happens even when I place "using namespace std;" at the very top of my header.
Below is my header:
using namespace std;
#ifndef FONCTION_H_INCLUDED
#define FONCTION_H_INCLUDED
string dest();
string source();
#endif

Need help

1 answer

  1. VS
     
    Well, I redid all my headers and it's working... If I find the error, I will let you know.
    1