frankfurt_schoolgirl [she/her]@hexbear.nettoFirefox@lemmy.ml•[Solved] Firefox freezes randomly? English
1·
1 year agoTry using a different profile? (about:profile)
Try using a different profile? (about:profile)
As long as there’s a neovim extension
Didn’t know about that one, thanks!
If you want to accept a user input of any length, you have to read the input piece by piece and allocate a new buffer if the original becomes full. Basic steps would be:
malloc
to make a char *
buffer\0
to your buffer and break the loop. You’re done!memcpy
to copy the stuff from the old buffer to the new one. Use free
to get rid of the old buffer.This will work until you fill the entire memory of your computer. You should probably set a max length and print an error if it is reached.
Love how the only use cases for these things are cheating in school and customer service, but they randomly threaten or insult the user, making them useless for complex customer service.
This article is an analysis of a recent global event, speculation of the probable cause, and some discussion of the broader implications. It makes perfect sense to be in world news.
You seem to have had a strong emotional reaction to the suggestion that the US might have helped Israel carry out a particular ttack on another country. We’re you aware that this happens literally every day?