Message from C, C++ discussions

January 2020

— This is my function

— 

I think you've declared the array of 1000
And when you call it you give the parameter m
Which isn't recognised

— Learn about Programming languages and much more

— Ya i did that.... thanks for the help man

— Can you tell me how to deal with 2d arrays if you get to know the size in runtime?

— Like while decleration you need to have a fixed size

— You can use pointer to pointer

— I dont understand this

— While decleration of a 2d array we need to provide the constant column size....bt in case we get to know about the column size during runtime

Message permanent page

— So what we do then?

— Https://stackoverflow.com/a/936702/8258801

— You mean this?