Open any book in c++ 2D arrays. You will find your question as a sample to how to create, store, and retrieve your 2D array. Don't get me wrong, if you don't show some effort for your self, you gonna struggle .
although limit_of_loop + 1 is valid but it's not recommeded :! how can i solve that ?
Not recommended by who? Solve what? How does the code you've already been given not do what you asked? Are you making any attempt of you own on this??? If so, let's see some code so we can get an idea what you're actually asking...