<SOLVED>Trouble With Template

Whether you're a newbie or an experienced programmer, any questions, help, or just talk of any language will be welcomed here.

Moderator: Coders of Rage

Post Reply
User avatar
Maevik
Chaos Rift Junior
Chaos Rift Junior
Posts: 230
Joined: Mon Mar 02, 2009 3:22 pm
Current Project: www.keedepictions.com/Pewpew/
Favorite Gaming Platforms: PC
Programming Language of Choice: C++
Location: Long Beach, CA

<SOLVED>Trouble With Template

Post by Maevik »

So this is my first attempt at templating a class. I'm doing something wrong but I can't figure out what it is.

http://pastebin.com/PQcVkyCv

Code: Select all

Error	1	error C2955: 'Array' : use of class template requires template argument list	
My love is like a Haddoken, it's downright fierce!
User avatar
Maevik
Chaos Rift Junior
Chaos Rift Junior
Posts: 230
Joined: Mon Mar 02, 2009 3:22 pm
Current Project: www.keedepictions.com/Pewpew/
Favorite Gaming Platforms: PC
Programming Language of Choice: C++
Location: Long Beach, CA

Re: <SOLVED>Trouble With Template

Post by Maevik »

qpHalcyon set me straight on this one from IRC. Thanks again for the help qp!
My love is like a Haddoken, it's downright fierce!
User avatar
LeonBlade
Chaos Rift Demigod
Chaos Rift Demigod
Posts: 1314
Joined: Thu Jan 22, 2009 12:22 am
Current Project: Trying to make my first engine in C++ using OGL
Favorite Gaming Platforms: PS3
Programming Language of Choice: C++
Location: Blossvale, NY

Re: <SOLVED>Trouble With Template

Post by LeonBlade »

I've never used templates before :oops: I honestly don't even know what they are :nono:
There's no place like ~/
User avatar
Milch
Chaos Rift Junior
Chaos Rift Junior
Posts: 241
Joined: Sat Jul 11, 2009 5:55 am
Programming Language of Choice: C++
Location: Austria, Vienna

Re: <SOLVED>Trouble With Template

Post by Milch »

Follow me on twitter!
Post Reply