Vote count: 0 So I have to create a 2D array which is going to be used to print a histogram. I know that the array is going to be 52 elements wide, but the height of the array is going to be equal to max + 1, which will be different every time the function it is in gets called. Ideally, the line would accomplish the following function: char histPlot[max+1][52] = ""; As I was writing my code, however, I leaed that C, or at least my compiler, does not allow an array to be declared without a constant value. The professor of the class I'm writing this code for was not clear on whether or not we could use malloc() for this assignment. Assuming I caot using malloc(), is there any way I can create ...
ادامه مطلبVote count: 0 I am trying to ask user for number of dices and no of faces in the format "NdF" and tried to split by "d" and multiply no of dices by no of faces? asked 1 min agoPradeep Gyawali Let's block ads!...
ادامه مطلبVote count: 0 So I registered and I have the API key. I just want to recognize text on simple images and write the detection to the console. I couldn't find a good tutorial so maybe you can help me. asked 37 secs agoGabe Let's block ads!...
ادامه مطلب