Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

help

Name: Anonymous 2009-08-23 14:38

hey why can dis.4chan be down when img.4chan be up there both on 4chan

Name: Anonymous 2009-08-23 14:46

>>1
Because 4chan is run on TWO ten-year-old servers.

Name: Anonymous 2009-08-23 14:50

1
Its "their"; not "there".

Name: Anonymous 2009-08-23 15:02

>>2
YHBT

Name: Anonymous 2009-08-23 15:36

>>4
YHBMT

Name: Anonymous 2009-08-23 16:02

C question:

I have an array of things, and some of these things tend to be deleted. How can I shift the array after deleting a member, so there is no hole in the middle?

Name: Anonymous 2009-08-23 16:13

>>6
use a linked list

Name: Anonymous 2009-08-23 16:15

>>7
I'm looking for a way to do this with arrays.

Name: Anonymous 2009-08-23 16:19

>>8
Shift the array after deleting a member.

Name: Anonymous 2009-08-23 16:19

>>6
Use a XOR doubly-linked list.

Name: Anonymous 2009-08-23 16:30

>>6
not possible in C .

Name: Anonymous 2009-08-23 16:30

>>10
queer

Name: Anonymous 2009-08-23 16:36

>>6
Alter your process's memory map so everything beyond it points one element further.

Name: Anonymous 2009-08-23 19:58

>>12
why

Name: Anonymous 2009-08-23 20:39

help
i'm an idiot

fix'd

Name: Anonymous 2009-08-23 21:52

>>11
Heard of realloc()?

Name: Anonymous 2009-08-23 22:22

>>16
Why the fuck would you use realloc? He is deleting from an array, not resizing it. Just shift every element down one, although if you need deletion an array probably isn't what you should be using.

Name: Anonymous 2009-08-23 22:44

>>17
I thought he wanted to resize the array after shifting everything. Surely he didn't just ask how to move everything down in an array...?

Name: Anonymous 2009-08-24 12:48

>>17
memmove will be faster and cleaner than manual shifting.

Name: ​​​​​​​​​​ 2010-10-22 12:51

Name: ​​​​​​​​​​ 2010-10-25 10:36

Name: Anonymous 2010-12-17 1:34

Erika once told me that Xarn is a bad boyfriend

Don't change these.
Name: Email:
Entire Thread Thread List