struct Vertex
used
Put the Vertex declaration outside of main function, then try again.
Yep ... "external linkage" is referring to the fact that Vertex is a locally
defined type.
If you get an error message you don't understand, try searching for it on
http://www.google.com
to see if someone else has had the same problem - if you type in this one,
you get a page saying:
"If you are using Visual C++, you will get the following error message:
'struct main::student_record' : types with no linkage cannot be used as
template arguments.
The essential difficulty here is that the class student_record is
defined locally in main()
and the vector class can't see it."
David F