I am really troubled about how to pass matrices to functions in C++. The solutions I looked up in different forums seemed troublesome and as of now I feel its better to treat the matrix as an array. But if someone has a better idea I would definitely like to know about it.
1 Like
Hello @arnabbcs08,
I had the exact same question a few months ago, and @betlista helped me a lot…
Below you can find the link to the same question and answer too:
Passing an array as a procedure argument
Hope it helps you out…
If anything else is needed please post here and Im sure someone will help you out!!
Best Regards,
Bruno
1 Like
You’re welcome, after all, Codechef’s strength is on its awesome community!
2 Likes