I'm trying to learn C++ using Xcode however the line #include "Sales_item.h"
produces an error. Both files are in the same directory which is the project open in Xcode. I cannot figure out how to set the header search path in Xcode which may be the problem. Here is all of the code:
#include <iostream>
#include "Sales_item.h"
int main()
{
Sales_item book;
std::cin >> book;
std::cout << book << std::endl;
return 0;
}