Hallo.
I'm afraid I'm having more trouble with templates.
I can define in a class called "Tconsole_script" (that inherits from vector<T>) the following:
virtual void LoadFromFile(T& fullfname)'
This seems okay, but when I put an implementation in the .cpp file, the compiler tells me this:
ftp_console.cpp(36): E2316 'Tconsole_script<T>::LoadFromFile(T&)' is not a member of 'Tconsole_script<T>'
And it is! IT IS! I PUT IT THERE MYSELF!
I'm afraid this is foxing me quite severely.
If anybody can figure it, I'll be eternally grateful!
Cheers,
Douglas JL
Common sense is what tells you the world is flat.
I'm afraid I'm having more trouble with templates.
I can define in a class called "Tconsole_script" (that inherits from vector<T>) the following:
virtual void LoadFromFile(T& fullfname)'
This seems okay, but when I put an implementation in the .cpp file, the compiler tells me this:
ftp_console.cpp(36): E2316 'Tconsole_script<T>::LoadFromFile(T&)' is not a member of 'Tconsole_script<T>'
And it is! IT IS! I PUT IT THERE MYSELF!
I'm afraid this is foxing me quite severely.
If anybody can figure it, I'll be eternally grateful!
Cheers,
Douglas JL
Common sense is what tells you the world is flat.