Skip to main content
gamedev.net
🔒 Locked

Visual C++

Started by Dan Bishop Dec 31, 2001 at 6:05 PM 0 replies 450+ views
Original Post
Dan Bishop
Dan Bishop
I was messing around with trying to write a modeling program and my problem comes when I try to use the template class in MFC CList. The problem is if I use a struct the program works fine, but then if I turn around and use a class with functions in it, I get linker error 2005 which says that the functions are defined in multiple places. I thought that I''d try to implement my own linked list template (one that worked) and the same thing happens. Someone who has experience with linkedlists in MFC can you give any hints dbishop
dbishop

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.