Hi I have a problem in c++ programming in the 2D array. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Hi I have a problem in c++ programming in the 2D array.

So I want to take the columns amount from cin and put it into a function like amount of columns would be c and I take c from cin and put it into function but in function definition I can't do it because I should put a real amount what should I do to take c from cin?

3rd Jul 2022, 12:57 PM
Mehrzad DLMR
Mehrzad DLMR - avatar
1 Answer
+ 1
Can you attach a link to that code bit in your post's Description? I think there should be no problem there ... https://www.sololearn.com/post/75089/?ref=app
3rd Jul 2022, 2:07 PM
Ipang