Although I include the header file of a class in my implementation like:
#include<Utility.h>
I still get fatal error: Utility.h: No such file or directory
Is there any idea why? Utility.h and Utility.cpp in my current project folder
Although I include the header file of a class in my implementation like:
#include<Utility.h>
I still get fatal error: Utility.h: No such file or directory
Is there any idea why? Utility.h and Utility.cpp in my current project folder
#include "Utility.h"
This is the way to include a .h file that you wrote and is in your project.
#include <file>
This variant is used for system header files. It searches for a file named file in a standard list of system directories.
#include "file"
This variant is used for header files of your own program. It searches for a file named file first in the directory containing the current file, then in the quote directories and then the same directories used for <file>.