   [C++] Another constants/type problem
  As I've said in my last post I'm trying to make types for my variables to ensure type-checking when passing values to functions. Now my problem is defining a type for int*.The logic is: I have an array of int values defining which frames should be played in an animation, like:const int attack[] = { 1, 2, 3, 2, -1 };I would call a function to assign this animation sequence to an actual player action:...void SetPlayerAction(GEPlayerAction action_type, const GESpriteAction action);...I tried creating a type with:typedef int* GESpriteAction;But then I lose the ability to initialise my sequences with a variable length array and trying to compile:const GESpriteAction attack = { 1, 2, 3, 2, -1 };gives an error.There is another way to typedef int[] ? Or any other solution came to mind?I am thinking about creating a class just for storing animation sequences, but I'm a bit reluctant in doing that...   
typedef int GESpriteAction;const GESpriteAction attack[] = { 1, 2, 3, 2, -1 };void SetPlayerAction(GEPlayerAction action_type, const GESpriteAction* actions);void Foo(){  SetPlayerAction(x, attack);}