Feb 4, 2004 #1 BigDaz Technical User Jan 14, 2002 39 GB hello, i'm trying to this: CList< int, int > listy; but i just get errors, what do i need to do to be able to use like that? cheers, bigdaz
hello, i'm trying to this: CList< int, int > listy; but i just get errors, what do i need to do to be able to use like that? cheers, bigdaz
Feb 4, 2004 1 #2 PerFnurt Programmer Feb 25, 2003 972 SE >but i just get errors You are quite unspecific. That is not a problem though since I am in possession of immense mental powers and can sense that that you've missed a Code: #include <afxtempl.h> somewhere. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vcmfc98/html/_mfc_clist.asp /Per [sub] "It was a work of art, flawless, sublime. A triumph equaled only by its monumental failure."[/sub] Upvote 0 Downvote
>but i just get errors You are quite unspecific. That is not a problem though since I am in possession of immense mental powers and can sense that that you've missed a Code: #include <afxtempl.h> somewhere. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vcmfc98/html/_mfc_clist.asp /Per [sub] "It was a work of art, flawless, sublime. A triumph equaled only by its monumental failure."[/sub]
Feb 5, 2004 Thread starter #3 BigDaz Technical User Jan 14, 2002 39 GB yeah you are quite correct, i had put #include <afxtempl.h> in StdAfx.h but hadn't included it the file where the CList was. what a muppet i am. cheers. Upvote 0 Downvote
yeah you are quite correct, i had put #include <afxtempl.h> in StdAfx.h but hadn't included it the file where the CList was. what a muppet i am. cheers.