2

I was wondering in which folder on my computer is stdio.h file placed. I have Windows 10, and Visual Studio 2015 (32 - bit) installed on my computer. Visual Studio includes tools for writing, compiling and executing C programs, so i think that it also must have stdio.h contained somewhere, am I right? I tried searching for stdio.h in folder C:\Program Files(x86)\Microsoft Visual Studio 14.0\VC and all of it's subfolders, but with no success. I would very appreciate if anyone could give me some guidelines or a solution to this problem.

Thank you in advanced for your time and answers!

too honest for this site
  • 12,050
  • 4
  • 30
  • 52
  • look in project properties - it shows you the include direcoty paths – pm100 Mar 03 '16 at 16:45
  • I know I shouldn't ask, but why would you *want* to know this? Because your compiler complains about not finding it? (That's a different question.) Or because you want to look at it? (Don't. :-D ) – DevSolar Mar 03 '16 at 16:45
  • its gonna be under the Microsoft SDKs folder somewhere – pm100 Mar 03 '16 at 16:47
  • You can also open the header file in Visual Studio (follow the file). Then once inside the file VS should show you the exact location. – hauron Mar 03 '16 at 16:49
  • Into visual studio IDE, right click on `stdio.h`. It will show you an option like: Open document `"stdio.h"` – LPs Mar 03 '16 at 16:57
  • C:\Program Files (x86)\Windows Kits\10\Include\10.0.10240.0\ucrt, usually. Read up about the universal crt split in [this blog post](https://blogs.msdn.microsoft.com/vcblog/2015/03/03/introducing-the-universal-crt/). – Hans Passant Mar 03 '16 at 17:22
  • Thank you all for your answers! They all helped me, and I managed to find the file. It wasn't that hard, since Hans Passant gave me the exact location of it :D Thank you once again! @DevSolar I simply wanted to know where the headers like stdio are "physically" in Visual Studio. I knew where they where in Dev C++, and now, when I installed VS, I could not find them. So i had to ask :) – Stefan Lapadat Mar 03 '16 at 18:22

1 Answers1

1

"The headers, sources, and libraries are now distributed as part of a separate Universal CRT SDK. This SDK is included with Visual Studio; it is installed by default to C:\Program Files (x86)\Windows Kits\10."