hi im new to c++ and i done a few project's in c# java VB etc and im trying to work out how to get an dynamic array of delegate void methods i have some code in c# to explain what im trying to do and some how convert it to unmanaged c++.

public delegate void Action(List<int> internalcmd, List<byte> initialdata);

public List<Action> commandarray = new List<Action>();

commandarray.Add(hello(internalcmd, initialdata));

iv done a little research and you can use vectors instead of list array. but im not too sure about how to use a delegate or function pointer.

i dont know what would be suit me. i know c++/clr has delegates but wouldnt it best suit me to use native c++ code.

thanks