Quote:
Originally posted by Unregistered
Hey, Yim!
"int" is a standard, build-in, type of compiler. But "abs" is your user-defined type. So you must tell your compiler what is a type "abs" in second file. The keyword "extern" concerns to a variable, not to a type, which must be defined as well.
I understand that abc is my user-defined type. Therefore instead of writing "extern abc test_abc;", I wrote "extern class abc test_abc". Therefore one would expect abc to be a class and test_abc is a class object.