Quantcast
Channel: Go4Expert
Viewing all articles
Browse latest Browse all 1994

Array printing help needed

$
0
0
I have a program to create and fill a 2 dimensional array with numbers up to 2**8 in the first column, and the binary equivalent in the next 8 columns. When I print the array twice, as in the program, I get the results expected. But if I print the array only once, using the goto skipprint statement, I get all ones. The program works for Bits equals 3 through 7, but when Bits = 8, it fails unless I print the array twice. Very frustrated, as I'm missing some nuance, and I can't find any...

Array printing help needed

Viewing all articles
Browse latest Browse all 1994

Trending Articles