3 ms·
When selecting C and typing anything: ... char temp; temp = getc(); printf("Received: %s", temp); ... Oh my. Kaboom.
by tempodox 3y ago
When selecting C and typing anything:
...
char temp;
temp = getc();
printf("Received: %s", temp);
...
Oh my. Kaboom.
- doubtfuluser 3y agoYeah… hail to the LLM (in case that’s what’s behind this)
- d-lisp 3y agoNot a C expert, but shouldn't %s be %c ?
- junon 3y agoYes.