i created some segement of shared memory using <sys/shm.h> <-- im not sure what this thing called.. shared memory?

seems shared memory doesnt like dynamic allocation and vectors
what are some apporaches i could create a 2D array like structure in shared memory?

sloved... for those interested...
you can create another share memory such that the size is rowscolumns
and the way you access the the array(it an single dimension array!) is..
for(i=0; i&lt;rows; i++)
for(j=0;j&lt;columns;j++)
arg[i
columns+j] //arg[i][j]

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.