Как я могу создать массив пространств имен? И поскольку это кажется длинным выстрелом, если это невозможно, существует ли что-то похожее на пространство имен, которое можно превратить в массив?
Пространство имен, если оно помогает, содержит следующие переменные:
const int maxx=// depends on the particular namespace
// I need an array to go through each namespace and
// pick out the variable
const int maxy=// depends on particular namespace
//prgm is a class I made
prgm sector[maxx][maxy];
// another array of prgms. int is my shorthand of saying "depends on
// particular namespace", so is char.
prgm programs[int]={prgm1(int,int,char),prgm2(int,int,char)...
Так что любая помощь будет приветствоваться.