Can you post a small example of how your data changes, requiring the array to change. Just something small, but something to help clarify your description.
I don't have a clear enough picture yet,...
Type: Posts; User: Adak
Can you post a small example of how your data changes, requiring the array to change. Just something small, but something to help clarify your description.
I don't have a clear enough picture yet,...
You students nowadays, you expect code I post to be close to actually working! :)
#include <stdio.h>
int main(int argc,char *argv[]) {
int row, col, j;
int goodrow=0;
int...
I read his post a little differently. I thought he wanted to save just the rows that contained at least one value of 1, in them.
for(row = 0, j = 0; row < MaxRowsInOriginalArray; row++) {...