my above code is not compiling (as usual) , i am not understanding what exact error
the message at [][] operator is expected unqualified id before [ token ?
i use codeblocks with gcc compiler on windows
Your declaring 's' as an object of the sup class. Then instead of using the object of sup, you type sup[0][0] = 72 and use the class. Change that line to s[0][0] = 72 as guest said earlier.