Since you are accessing a single cell in the array, you must use its address:
sscanf( line, "%c", &array[x] );
Because you're reading into a single cell (ie: a single character).
Quzah.
Since you are accessing a single cell in the array, you must use its address:
sscanf( line, "%c", &array[x] );
Because you're reading into a single cell (ie: a single character).
Quzah.
Hope is the first step on the road to disappointment.