c++ - How to extern a global two-dimensional array? -


i want extern global two-dimensional array:

float buffer[10][10]; 

i know "extern float buffer[];" work array single dimension, not know how extern array 2 dimensions.

thanks in advance.

you declare as:

in header file put:

extern float buffer[10][10]; 

in one source file put:

float buffer[10][10]; 

Comments

Popular posts from this blog

delphi - How to convert bitmaps to video? -

jasper reports - Fixed header in Excel using JasperReports -

python - ('The SQL contains 0 parameter markers, but 50 parameters were supplied', 'HY000') or TypeError: 'tuple' object is not callable -