here is what I have and it is giving me errors:
};//end struct composition
when i try to use it, it gives me this error:
'struct main::student_info' : types with no linkage cannot be used as template arguments
when i change the stack to something like stack<int> i have no plroblems. i have included stack as well.
Declare the struct in a global scope (not inside main() or any other function).
If it already is, buy/download a new compiler.
Sang-drax is exactly on the money.
Borland puts out a slightly more descriptive error message.
"Template argument cannot have static or local linkage."
Declaring the struct in the global scope takes care of the problem. (I tried it. ;))
Nice call, Sang-drax. :)
thanks so much guys, you took my headaches away!