How do I eliminate the two error messages in the code below?
The coding is from Programming Principle and Practice Using C++
I am running Visual Studio 2013 Professional.
1 2 3 4 5
// C24 Test
#include <iostream>
#include "Matrix.h" // error C1083: Cannot open include file: 'Matrix.h': No such
file or directory
usingnamespace Numeric_lib; //3 IntelliSense: name must be a namespace name
Well, I can't think of many reasons as to why it can't find a header file. Obvious one is that the header file doesn't exist, or you misspelled it. You copied this from a C++ book? They don't always give you the complete code. Make sure you have the "Matrix.h" file into your project folder and try again.