Vector which is of non class type




















All times are GMT The time now is AM. Copyright TechnologyAdvice. CodeGuru Home. Visual Basic. VB Forums. Jump to Post. Answered by Sky Diploma in a post from 12 Years Ago. Firstly the error in your code is due to this.

Well if Races wouldin't be a pointer compiler would generate an error. And those errors would be? Pauliuw, Check out my previous post. Thanks Sky Diploma : works great :. Concerning the next error you are getting, this is because you have a declaration of the constructor and destructor of your class, but not a definition. In fact, the error you are getting comes from the linker , and not from the compiler.

Or, as long as these member functions do nothing, just omit them at all - the compiler will generate them for you unless you add some other user-declared constructor, for what concerns the constructor. In your version Keyword aux ; is a function prototype not a variable declaration. Stack Overflow for Teams — Collaborate and share knowledge with a private group.

Create a free Team What is Teams? Collectives on Stack Overflow. Learn more. Asked 11 years, 6 months ago. Active 11 years, 6 months ago. Viewed 32k times. Improve this question.



0コメント

  • 1000 / 1000