【发布时间】:2009-04-30 02:26:07
【问题描述】:
如何创建命名空间数组?又因为这似乎是一个很长的尝试,如果这不可能,有没有类似命名空间的东西可以做成数组?
命名空间(如果有帮助的话)包含以下变量:
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)...
所以欢迎任何帮助。
【问题讨论】:
-
你说的是什么语言?
标签: arrays namespaces