Quick question how come this function isnt executing? C++ | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Quick question how come this function isnt executing? C++

https://code.sololearn.com/c24NfpO7mEBQ/?ref=app I want print2d to work but for some reason it wont execute C++

30th Apr 2021, 1:44 PM
boba
boba - avatar
7 Answers
+ 1
all i did was delete that integer variable, uncomment the array, and fed it to the function. https://code.sololearn.com/ct1gJGTEr7ZE/?ref=app
30th Apr 2021, 2:22 PM
Slick
Slick - avatar
0
x is undefined
30th Apr 2021, 1:48 PM
durian
durian - avatar
0
Am I supposed define it like const int x = 4;?
30th Apr 2021, 1:50 PM
boba
boba - avatar
0
u want to use it ,so u have to define it..and the type must be int [][Cols]
30th Apr 2021, 1:52 PM
durian
durian - avatar
0
So Print2D(int[][Cols]);?
30th Apr 2021, 1:54 PM
boba
boba - avatar
0
Martin Taylor you know how? Im using my teachers notes but wont bother to show us how to execute the function
30th Apr 2021, 2:01 PM
boba
boba - avatar
0
I still need help anyone?
30th Apr 2021, 2:16 PM
boba
boba - avatar