Undefined Reference

Your files must be known to the linker. LNK2019 (in Visual Studio) is a linking error for unresolved external symbol(s). Make sure your file is included in the project as shown (again, Visual Studio). The code works as it should.

For more information, look here (discussion).

1 Like