Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
zotigapo72716dWrite your own library.
Take a note sticker, write on it and then paste it on screen. Voila!!!
oreru81116dwrite(STDERR_FILENO, "something", 9);
endor408216dWhat's wrong with iostream?
hack324716dSmells 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
Your Job Suck?
Take a quick quiz from Triplebyte to skip the job search hassles and jump to final interviews at hot tech firms
Get a Better Job