corteximplant.com is one of the many independent Mastodon servers you can use to participate in the fediverse.
CORTEX IMPLANT - an international cyberpunk'ish LGBTQIA+ friendly Fediverse instance for edgerunners, netrunners and cyberpunks and all who want to become one.

Administered by:

Server stats:

236
active users

#C

36 posts26 participants0 posts today
Public

To my #c #cxx #cpp bubble:
Without trying it out -- what is the value of this expression?
uint8_t i = -1 % 128;

Public

To my #c and #cxx #cpp bubble: Why does a uint8_t get promoted to uint when doing -1 on it? Example:

#include <stdio.h>
#include <stdint.h>

int main(void)
{
uint8_t c1 = 0;
printf("%u\n", c-1);
return 0;
}

This will print (uint8_t)(c1-1) if you don't cast: (uint8_t)(c1-1)

Public
bash.org #508598

<nJess> God that stings like a motherfuck
<nJess> I just picked up my airsoft
*** Kederaji has joined channel #C&T
<nJess> And it discharged, into my face.
<nJess> At a range of about a foot and a half.
<Kederaji> O_o
<Kederaji> I always walk in at bad times.
bash.orgQDB: Quote Database Home