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

Pages: 1-4041-8081-

Fucking pointers

Name: Anonymous 2013-06-27 18:20

I want to declare a const pointer that points to a list of const pointers that point to const data. Throw me a fucking bone.

Name: Anonymous 2013-06-27 18:31

const void * const ** const ptr;

Name: Anonymous 2013-06-27 19:55

you're doing it wrong if you think this is necessary

Name: Anonymous 2013-06-28 0:18

>>1
"why would you want to do that...?"

Name: Anonymous 2013-06-28 0:27

>>4
A string table, perhaps?

Name: Anonymous 2013-06-28 0:46

>>5
Doesn't
char *argv[]
sound familiar? It's a pointer to an array of pointers to char (to strings of chars actually, but you obviously dont't point to an array containing a string, but rather merely to the first char of that array).

Name: Anonymous 2013-06-28 1:02

>>6
point to my anus

Name: Anonymous 2013-06-28 1:03

>>6
Actually, argv is an array of pointers to char, which decays to a pointer to pointer to char when passed to the main() function.

Name: Anonymous 2013-06-28 2:27

>>8
There's no such thing as `decay' in programming languages, you idiot.

Name: Anonymous 2013-06-28 2:42

Name: Anonymous 2013-06-28 2:44

>>10
Yes, there isn't. Citing some stupid-ass question on a FAQ doesn't count. There's no such word as `decay' in the answer, too.

Name: Anonymous 2013-06-28 3:02

>>11
While the term may not come from TEH STANDARD itself, it is quite commonly used (even if often put in quotes) and seems equally commonly understood. As such, calling someone an idiot for using it in that context honestly seem dubious at best.

Name: Anonymous 2013-06-28 3:27

Name: Anonymous 2013-06-28 11:13

Actually, the '*' character is the Star of David, concurrently serving as a pointer operator. '*' also looks like an anus. Just think of it - major Jewish symbol is an anus!

Name: Anonymous 2013-06-28 11:37

>>13
OK, I concur.

Name: Anonymous 2013-06-28 14:20

>>14
>pointer operator

Wtf is a "pointer operator"?? * is the dereference/indirection operator, that's what it is. Will you call & a "pointer operator" as well, just because it has something to do with pointers?

As for other suggested similarities, depending on the font it may as well look like a five pointed star, so ymmv.

Name: Anonymous 2013-06-28 14:30

>>16
In void * name; the symbol '*' acts as an operator on algebraic type "void" and symbol "name"

Name: Anonymous 2013-06-28 14:56

>>17

void *name; means precisely "by dereferencing the id name i'm getting a value of type void", which in turn simply means "name is a pointer to void".

While the use of * in a pointer declaration/definition might at first seem different from using * to dereference an existing pointer, it really isn't.

Name: Anonymous 2013-06-28 14:59

>>18
You are confused, /b/ro.

Name: Anonymous 2013-06-28 19:46

>>17 and >>18 are both wrong. The * used in declaring a pointer type is part of the syntax. It is not the * unary operator:

6.7.5 Declarators

Syntax

    declarator:
        pointeropt direct-declarator

    direct-declarator:
        identifier
        ( declarator )
        direct-declarator [ type-qualifier-listopt assignment-expressionopt ]
        direct-declarator [ static type-qualifier-listopt assignment-expression ]
        direct-declarator [ type-qualifier-list static assignment-expression ]
        direct-declarator [ type-qualifier-listopt * ]

    ...


(But it obviously isn't a binary operator either. Really, >>17 is wronger here.)

Name: >>20 2013-06-28 19:49

Oh, by the way, that snippet's copied from a shitty pdf of the C99 STANDARD I found on the internet: http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1124.pdf

I doubt any version of C does this differently, though, so it doesn't really matter.

Name: Anonymous 2013-06-28 21:14

>>21
nerd

Name: Anonymous 2013-06-28 21:17

>>20
part of the syntax ... is not ... operator
How "syntax" is different from compile time operators, like algebraic types of ML and Haskell?

Name: L. A. Calculus !!wKyoNUUHDOmjW7I 2013-06-28 22:07

>>1
YAINT RED DA FUCKIN STANDARD, HAVE YA?
const void *const (*const ptr)[LIST_SIZE];

Name: Anonymous 2013-06-28 22:43

Name: Anonymous 2013-06-28 23:26

What particular version of the Standard is recommended to read? There's C89/C90 (ANSI), C90 with C94 updates, and ISO C99 and C11 - of which only drafts being available for free, the hardcopy of the final version of C90 seemingly out of print, and the final versions of C99 and C11 available from ISO for some serious amount of buck...?

Name: Anonymous 2013-06-28 23:44

>>26
n1256.pdf

Name: Anonymous 2013-06-28 23:50

why does a programming language standard cost money?

Name: Anonymous 2013-06-29 0:52

>>27
That's a draft from 2007 for what eventually became C11. There is a more recent version, n1548.pdf. Still, why would you rely on a draft when there's a final version that probably has some differences, kinda pointless imo. Secondly, it's C11, while the arguably most widely used and still most reasonable is C89/C90.

>>28
Good question - probably has something to do with policies of ISO who publish them. Your guess is as good as mine.

Name: Anonymous 2013-06-29 1:35

>>28
Because of JEWS.

Name: Anonymous 2013-06-29 2:17

>>28
Brian Koinsberg & Dennis Reizenstein want their shekels

Name: Anonymous 2013-06-29 2:46

>>31
Pls do not mar the names of K&R

Name: L. A. Calculus !!wKyoNUUHDOmjW7I 2013-06-29 7:56

>>31
*WHIPS OUT A MACHINE GUN AND STARTS FIRING AT UR ANUS*
TAKE DAT, YA COWARD.

DEANIS RICKY WAS KILLED BY DOSE SAME FUCKING HYENAS. U WANNA SPRED SHIT ABOUT HIM U GOTTA GET THROUGH ME FIRST, YA FUCKIN RETOID.

Name: Cudder !MhMRSATORI!fR8duoqGZdD/iE5 2013-06-29 9:38

>>28
Not if you know where to look.

http://depositfiles.com/files/4cmcyb6k

Name: Anonymous 2013-06-29 10:03

>>28
why does a programming language standard cost money?
Because C/C++ is so bad, its use should be restricted by Paywall.

We also need a paywall for PHP.

Name: Anonymous 2013-06-29 10:09

>>35
Compare red bananas to yellow bananas. Red bananas are smaller, cost more, have awful resin taste and you have to leave them at sunlight for some time, else they will be like wood. So C/C++ is these red bananas you buy, when there are better and cheaper alternatives.

Name: Anonymous 2013-06-29 11:02

>>34
Dead link.

Name: Anonymous 2013-06-29 19:14

>>34-37
Dead link... on purpose. Filthy rat. You have that document but being nice and sharing it here would kill you. Oh, the double tripfagging, the use of memes that have absolutely nothing to do with your persona (seriously, cudders and satoris when your job is to repair controllers of washing machines) and that half-decade-long daily shitposting, that's being fresh.

No. Fuck you, disgusting freak.

Name: Anonymous 2013-06-29 22:10

>>35
C++ is great

Name: Anonymous 2013-06-29 22:19

>>38
use of memes that have absolutely nothing to do with your persona
Yeah. I too don't get why this faggot uses "cudder", when he hates Lisp and praises x86/C/C++ holy trinity.

I think he is just a successful troll. It became obvious in this IE demoscene thread.

Name: Cudder !MhMRSATORI!fR8duoqGZdD/iE5 2013-06-30 5:30

>>37
I'm not surprised. Things like this don't last for long, not even if they're posted on an invite-only forum.
>>38
The first thing you do is whine and accuse when someone tries to find something you want? Great social skills there, autist. I don't have the C11 standard nor am I particularly interested in it; I just found that link --- after a not-trivial amount of Googling and checking various sites --- to show that people do share these things just as they do anime, VNs, and movies. I could ask the guy who uploaded that to reupload it, but your ungrateful whining has made me decide otherwise.

>>40
And it seems you're too autistic to understand irony nor remember my gender.

Name: Anonymous 2013-06-30 10:28

http://www.cdecl.org/
>declare prog as const pointer to const pointer to const pointer to int
int * const * const * const prog

Name: Anonymous 2013-06-30 10:31

>>42
egin gro
>>43
egin sage
>>44
egin dubs

Name: Anonymous 2013-06-30 11:27

>>41
remember my gender.
Yeah, the gender of the three of you. The three girls developing Anonix? We haven't seen them in a long time.

Name: Anonymous 2013-06-30 14:17

Name: Anonymous 2013-06-30 21:35

>>41
Are you FFP?

Name: Anonymous 2013-06-30 22:10

>>43
|||| || ||||.

Name: Anonymous 2013-06-30 22:14

||||||, ||| || || |||| ||||:


||||| | ||||| | ||||| | |||||||||||||

Name: Cudder !MhMRSATORI!fR8duoqGZdD/iE5 2013-07-01 6:18

>>45
ISO/IEC 9899:1999 (E)

That's all I'll tell you.

Name: Anonymous 2013-07-01 11:11

>>49
ISO/IEC 9899:1990

Fixed.

Name: Anonymous 2013-07-01 11:28

>>50
Why won't you read the C99 standard, ``faggot"?

Name: Anonymous 2013-07-01 11:32

>>51
>ib4 L.A.C rant on post-C99 standards

Name: Anonymous 2013-07-01 11:33

>>52
*post-C89 standards

Name: Anonymous 2013-07-01 12:15

<post about how Hyenas killed da standard and Deenis Ricky>

Name: Anonymous 2013-07-01 13:30

Baruch Kohenigan & Dan Ritsky

Name: Anonymous 2013-07-01 13:36

B. Kohn & D. Ritsky - [S]egfaults and [I]nterrupts of the [C] [P]rogramming language

Name: Anonymous 2013-07-01 17:01

>>56
Terrific ‚

Name: Anonymous 2013-07-01 20:43

Name: Anonymous 2013-07-01 20:49

Name: Anonymous 2013-07-01 20:54

Name: Anonymous 2013-07-02 0:18

Name: Anonymous 2013-07-02 0:24

Name: Anonymous 2013-07-02 0:29

Name: Anonymous 2013-07-02 0:34

Name: Anonymous 2013-07-02 3:54

spambegone

Name: Anonymous 2013-07-02 3:54

spambegone

Name: Anonymous 2013-07-02 3:54

spambegone

Name: Anonymous 2013-07-02 3:55

spambegone

Name: Anonymous 2013-07-02 3:55

spambegone

Name: Anonymous 2013-07-02 9:32

   
.......................__ ............
......<LEL LEL LEL LEL LEL LEL LEL>.
........................| |...........
................... __\||/____......
.\\...............|'-|--| .\\....\.....
..\ \_...........|--|---|..\\ ....\....
../ L \____,/-------\___\___\
.|LEL|-------------O----- ----,\..
..\ L /______,---''-----------, /...
../ /.............\_________ ,/....
.//.............____//___ __\\__/.

Name: Anonymous 2013-07-02 12:38

>>70
Fuck you. LEL will never me a meme. LOL is here to stay as king.

Name: Anonymous 2013-07-02 12:39

>>71
s/me/be/;

Fucking small onscreen keyboards

Name: Anonymous 2013-07-02 12:55

               `
>onscreen keyboards

gb2reddit applefag

Name: Anonymous 2013-07-02 18:27

>>65-69
I read that as "spengbab". What.

Name: Anonymous 2013-07-02 21:36

>>73
Could be worse, he could be using Android.

Name: Anonymous 2013-07-03 9:35

>>75
Android users are just macfags that don't have the money for Apple products.

Name: Anonymous 2013-07-03 11:12

>>76
LEL... true, but even if i had the money i would never buy Apple shit.

Name: Anonymous 2013-07-03 11:39

ebin grotato :--D >>77 !!

Name: Anonymous 2013-07-03 11:59

Ha, I run Android on my MacBook Pro.

Name: Anonymous 2013-08-31 18:23


Dear John,

I have come to visit you for the first time in quite a while, and I must say that your board is dreadfully boring.

Name: Anonymous 2013-09-01 13:52


Since cardinality is such a common concept in mathematics, a variety of names are in use. Sameness of cardinality is sometimes referred to as equipotence, equipollence, or equinumerosity. It is thus said that two sets with the same cardinality are, respectively, equipotent, equipollent, or equinumerous.

Name: Anonymous 2013-09-01 16:10


Set theory as a foundation for mathematical analysis, topology, abstract algebra, and discrete mathematics is likewise uncontroversial; mathematicians accept that (in principle) theorems in these areas can be derived from the relevant definitions and the axioms of set theory.

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