Skip to content

Bug with the head file bits/stdc++.h #771

@ZZYSonny

Description

@ZZYSonny

When I use the header file bits/stdc++.h, cpptools always tells me that it should be added to include path
However, I have already include the directory where stdc++.h is and also the directory where files included in stdc++.h are. And they cause the intellisense engine go wrong.
It seems that when it is in cpptools, it is looking for a header file called "bits\stdc++.h" ,which is not allowed in windows because of the char "\"
It is not possible for me to copy the stdc++.h to another place and use stdc++.h because I have to submit my code and I don't want to cause trouble because of it.
So my suggestion is that cpptools should ignore file name before the char "\" and only look for the correct name of it.
Another possible solution is that adding a feature that can make cpptools know where the exact file. When it met the header, it can use the directory set in cpp_properties.json.
//cpptools 0.11.2 MinGW 6.3.0

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions