Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
zotigapo8421yWrite your own library.
Take a note sticker, write on it and then paste it on screen. Voila!!!
endor64511yWhat's wrong with iostream?
hack46931ySmells like homework
You can use system calls or interrupts
@oreru go down to kernel space and write the drivers for the output device yourself, which would generally involve interrupts and a lot of low level programming
Hey I mean it is a solution technically.
You can also trigger system calls manually (i.e. without libraries) using interrupts, eg. on x86 Linux int 80h triggers the system call handler and you can put the system call id and args in places defined by the manual.
Also if your code is in x86 real mode (DOS etc.) you can generally access the BIOS I/O routines to print stuff, I think the interrupt code for that was 21h