matrix size

iam going to define a 2Dmatrix that its size will be define while the program is running. i use pointer but the compiler(g++ in debian)send compile error.besides i should use that pointer in my functions too. what should i do?
would you please send a code for that,
Topic archived. No new replies allowed.