Code: Select all
printf("A\tB\nAA\tB\n");

(outputting to the console)
Code: Select all
printf("A\tB\nAA\tB\n");
it does say that they are ascii chars, and ascii reference says that controls 0 to 31 are reserved for meta infoWinterMute wrote:Perhaps you'd like to point us to the standards documentation that states unequivocally that the tab character should align to a multiple of 8 spaces ...
i told you it's not about the 4... in freebasic is 12 instead of 8, because for 80 columns 12 seems better.... but, what i mean isWinterMute wrote:I'm not rebelling against anything, having 8 character tab stops on a 32 character wide screen seemed rather pointless & we decided on 4.
It's not a bug, it's simply something not working how you expected it to, much like the null character termination in the console code. These are both undefined behaviours and expecting things to work exactly like your desktop PC is unrealistic and naive.
Code: Select all
A B
AA B
Users browsing this forum: Google [Bot] and 3 guests