Unable to open source file xxx.h
Symptoms cause medicine friendship hint
symptoms
When learning the teacher’s example code, I found an error.
udaoplaceholder0
clock function and clock_t type are undefined identifiers?
see the library reference can not find the header file, tip “unable to open the source file time. The h”
The cause of
The code given by the teacher is not wrong in theory, it should be the problem of my development environment.
So my first reaction was: VS is broken?Can’t find time.h?Do I need to change the IDE configuration?Find the location of the header file to add?
Reference
VS cannot open source file “XXX. H”
10:57:14 on June 8, 2016 May the peace of the world Mr. W read number: 16405https://blog.csdn.net/u014800094/article/details/51611636 project properties – & gt; Configure properties ->; C/C + + & gt; Conventional – & gt; Additional include directory ->; $(ProjectDir)
I tried it, but it was no use.
I think again, this project is written by the teacher VS2005, I am now 9012 years old, using VS2017 to open, is it possible that the version difference caused the problem! ?
Baidu, sure enough, I found someone with the same problem as me.
ah
Read More:
- Solution of unable to open source file “StdAfx. H” in vs2013 / 2012
- Vs compiling OpenGL project, the solution of unable to open the source file “GL / glaux. H” appears
- Vs cannot open source file “XXX. H” problem
- How to solve the problem of “unable to open source file XXXXX. H” in VS development?
- Vs2017 C + + cannot open source file: “sdkddkver. H”, “stdio. H”, “TCHAR. H”
- Unable to open source file in vs
- Error in header file when calling OpenGL to open obj file in vs2013: unable to open include file: “GL / glut. H”: no such file or directories
- IntelliSense in VC + + 2010: unable to open source file “StdAfx. H”
- Vs2017 cannot open the source file “XXX. H” by adding a file name after creating a new class
- Solution of VS2008 unable to open GL / glaux. H header file
- Solution to the problem of vs2017 error report unable to open source file
- Win10 vs 2017 prompt cannot open include file: “windows. H”: no such file or director
- Solution of vs unable to open source file and link library file
- Vs cannot open the source file unistd. H under Windows
- Vs fatal error C1083: unable to open include file: “sys / socket. H”: no such file
- IntelliSense: unable to open source file ‘StdAfx. H’
- Vs2019 OpenGL glut: error: unable to open include file: ‘GL / glut. H’: no such file or directory
- The reasons and common solutions of vs flash back on the road of C + + Learning (with reasons attached)
- Vs + QT reports an error “vs cannot open the source file qchartview”
- Solution to the problem of unable to open glaux. H in vs2013