Hello,
I attach you this code; i should have 2 problems:
1. (most important) the use of template gets these errors; how come?
Code:
error LNK2019: unresolved external symbol "public: __thiscall Square<float>::~Square<float>(void)" (??1?$Square@M@@QAE@XZ) referenced in function _main
main.obj : error LNK2019: unresolved external symbol "public: __thiscall Square<float>::Square<float>(float)" (??0?$Square@M@@QAE@M@Z) referenced in function _main
............\geometry\Debug\geometry.exe : fatal error LNK1120: 2 unresolved externals
2. How can you see I need to do forward declaration with "vector" (but, because it doens't work, I opted to do #include <vector> in a temporaney way....
Can you help me, please?
Thanks.