B
Bill Cunningham
I have rewritten and rewritten and written again this small program. Can
anyone that knows what I am try to achieve tell me what I'm doing wrong?
This version prints nothing. As was written before I got this to stdout
0 0
#include <stdio.h>
int main()
{
int ar[128] = { 0 };
int b[128] = { 0 };
int i, j;
for (i = 0; i < 127; ++i) {
for (j = 0; j < 127; ++j);
while (i < 127 && j < 127)
printf("%d %d\n", b, ar[j]);
}
}
I can't take it anymore I want it to work. Here is what I'm trying to do
0 0
1 127
2 126
3 125
....
Bill
anyone that knows what I am try to achieve tell me what I'm doing wrong?
This version prints nothing. As was written before I got this to stdout
0 0
#include <stdio.h>
int main()
{
int ar[128] = { 0 };
int b[128] = { 0 };
int i, j;
for (i = 0; i < 127; ++i) {
for (j = 0; j < 127; ++j);
while (i < 127 && j < 127)
printf("%d %d\n", b, ar[j]);
}
}
I can't take it anymore I want it to work. Here is what I'm trying to do
0 0
1 127
2 126
3 125
....
Bill