I figured out how to do it. Its just something like this:
for loop for row
for loop for col
New position of array is row + (col*3)
It may help someone
Type: Posts; User: brown
I figured out how to do it. Its just something like this:
for loop for row
for loop for col
New position of array is row + (col*3)
It may help someone
As the title says, Im trying to transpose an arbitrary matrix made from a 1d array. I can't even figure out how to start on this. I know that I need to use for loops. Is this even possible?
Im new to C programming and am trying to complete a program for class which prints an array and then takes user input to make a picture out of 'X's. Right now Im just trying to create the part where...
Hi
Im very new to C and Im attempting to make an array that looks like this except much bigger:
[][][][]
[][][][]
and in this array I would like put x's into some of the boxes based on user...