First  Prev  1  2  3  4  5  Next  Last
Post Reply Do you ever get bored?
33510 cr points
Send Message: Send PM GB Post
21 / M / U.S.A.
Offline
Posted 12/28/15
I'm so bored all of the time that it sometimes feels like I've been cursed with it.
40 cr points
Send Message: Send PM GB Post
Australia
Offline
Posted 1/9/16
I get bored very easily and I tend to be bored a lot of the time. Sometimes I wish I had more things to do, and then when I go ahead and find something to do it doesn't keep my interest for long, making me bored again. It's frustrating.
Posted 1/9/16
All the time.
27257 cr points
Send Message: Send PM GB Post
39 / Inside your compu...
Offline
Posted 1/9/16
no nope nobody here's bored nope
Posted 1/9/16
Ha ha ha ha ha! No, never.
74 cr points
Send Message: Send PM GB Post
25 / M
Offline
Posted 1/10/16
Yeah, so I go on Crunchyroll and mass reply to a bunch of dumb forum threads.
Posted 1/10/16 , edited 1/10/16
All the time...like now for instance.
4014 cr points
Send Message: Send PM GB Post
Offline
Posted 1/10/16
every weekend when the controller is mangled so i explore the internet
60159 cr points
Send Message: Send PM GB Post
27 / M
Offline
Posted 1/10/16 , edited 1/10/16

Uncle_Enzo wrote:


Radraymond01 wrote:

How to effectively cure boredom.
Step 1: *((char*)NULL) = 0;
Step 2: philosophize why this compiles.


#include <stdio.h>
int main(void)
{
*((char*)NULL) = 0;

// When you expand the NULL macro it looks like this
*((char*) ((void *)0) ) = 0;

// then for example you can do this.
void* x = 0;

// this compiles
*((char *)x) = 0;

// but this does not
(char *)x = 0;

// so your dereferencing
// (a void pointer) (cast as a char pointer). or stated as
// You're setting the value of what x
// is pointing to (while being case as a char pointer) to zero.

// i think

// the real answer is that C/C++ sucks but that's a fight for another day.

}


I'm okay with C, but I couldn't agree more about C++.

EDIT: Also, unsurprisingly, "*((char*)NULL) = 0;" gave me a segfault.
20 cr points
Send Message: Send PM GB Post
F / Europe.
Offline
Posted 1/10/16

blackwind117 wrote:

every weekend when the controller is mangled so i explore the internet


well hello there, I can't make a discussion so I reply here hahaa
First  Prev  1  2  3  4  5  Next  Last
You must be logged in to post.