Scanf behaviour
Posted: Wed Oct 14, 2020 11:25 am
@dom
i use zcc +zx -vn dice_081j.c -o dice081j -lndos -create-app -zorg=32768
but i already reinstalled z88dk by removing the directory and the do a BUILD_SDCC=0. I asume then all libs linked are the 'classic' ones.
I thoughed the above tread is about random but its a zx81 plot routine.
while learning c there is more then 1 obstacle, eg:
decimals: scanf("%d", &hand_of_dice) ;
characters: scanf("%cd", &hand_of_dice) ;
seem to behave different from each other
i have to check that by makeing al differenrt ways
i use zcc +zx -vn dice_081j.c -o dice081j -lndos -create-app -zorg=32768
but i already reinstalled z88dk by removing the directory and the do a BUILD_SDCC=0. I asume then all libs linked are the 'classic' ones.
I thoughed the above tread is about random but its a zx81 plot routine.
while learning c there is more then 1 obstacle, eg:
decimals: scanf("%d", &hand_of_dice) ;
characters: scanf("%cd", &hand_of_dice) ;
seem to behave different from each other
i have to check that by makeing al differenrt ways