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
-
Maevik
- 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
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!
-
Maevik
- 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
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!
-
LeonBlade
- 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
Post
by LeonBlade »
I've never used templates before
I honestly don't even know what they are
There's no place like ~/
-
Milch
- Chaos Rift Junior
- Posts: 241
- Joined: Sat Jul 11, 2009 5:55 am
- Programming Language of Choice: C++
- Location: Austria, Vienna
Post
by Milch »