0

I'm trying to use VS 2017 and add my own .h file to standard libraries so I can include it normally in whatever C++ project (I used to copy the .h file to Program Files\Microsoft Visual Studio 14.0\VC\include and just put it there).

It worked with VS 2013/2015 but 2017 is not detecting it after putting it there.

I know this is a bad practice but I just want to know why it's not detecting it and how to make it do so.

Thanks in advance.

  • 2
    _"so I can include it normally"_ What do you mean? You want to include that header to any project on your development environment? _"I know this is a bad practice"_ Then why are you insisting to do it? – πάντα ῥεῖ Apr 26 '19 at 19:31
  • I mean I added it, then if I type #include VS doesn't detect it...... and I insist because I use it for Codeforces and everyone uses it for simplicity and it's fine because the code won't be used for some real life software. – Mohamad Ziad Alkabakibi Apr 27 '19 at 20:00
  • https://stackoverflow.com/questions/31816095/why-should-i-not-include-bits-stdc-h – πάντα ῥεῖ Apr 27 '19 at 20:03

0 Answers0