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

An enigma

Name: Anonymous 2009-06-09 18:35

So, /prog/, a C question: I have int somevariable [10][10]; How do I declare a pointer to the first row of this array?

Name: Anonymous 2009-06-12 5:07

>>40
you posted both >>35 and >>30

That's what you say, not what I did.

Name: Anonymous 2009-06-12 12:12

>>37

short* f() {
    printf("side effect\n");
    return 0;
}

int main(void)
{
    char * s = "";
    printf("%zu\n", ARRAY_LENGTH(s));
    printf("%zu\n", ARRAY_LENGTH(&s));
   
    printf("%zu\n", ARRAY_LENGTH(f)); // WTF is this shit?
    printf("%zu\n", ARRAY_LENGTH(*f)); // WTF?
    printf("%zu\n", ARRAY_LENGTH(**f)); // WTF??
    printf("%zu\n", ARRAY_LENGTH(***f)); // WTF???
    printf("%zu\n", ARRAY_LENGTH(&f)); // WTF?
    // printf("%zu\n", ARRAY_LENGTH(&&f)); // WTF is 'label f not defined'?
    printf("%zu\n", ARRAY_LENGTH(f())); // where is my side effect?
    // printf("%zu\n", ARRAY_LENGTH(&f())); // WTF, why can't I do this then?
    int * x = 0;
    printf("%zu\n", ARRAY_LENGTH(x++)); // Can you guess what happens?

    return 0;
}

None of the above should compile. None of the above compiles in C++. If we are trying to help those who are "retarded enough not to remember the cardinality of the array", as >>21 aptly put it, the usual arguments about manliness and having enough rope are even more irrelevant than usual.

Therefore I must conclude that your statement,
also, c does it better
Is grossly inaccurate.

Name: Anonymous 2009-06-12 12:28

>>38
>>41
don't sage if you're replying to the thread. sage if you are saying 'fuck this thread, go to /r/' or whatever. idiot.

Name: Anonymous 2009-06-12 12:43

>>43
THAT IS NOT WHAT SAGE MEANS. IT HAS A DIFFERENT MEANING ON THE TEXT BOARDS THAN THE IMAGE BOARDS. NOW FUCK YOU. AND >>42 IS RETARDED BECAUSE HE DOES NOT KNOW THE SEMANTICS OF sizeof. FUCK YOU BOTH FOR BEING RETARDED. FUCK YOU.

Name: Anonymous 2009-06-12 13:14

>>44
>>44
>>44
epic sage-rage trolling completed

Name: Anonymous 2009-06-13 1:37

>>42
sizeof does not evaluate it's operand. ARRAY_SIZE should work the same way as sizeof.
the sepples code posted earlier doesn't compile. the code posted by >>37 does. your code doesn't compile. the obvious conclusion is that people who use sepples are too stupid to understand even the most trivial c programs.

Name: Anonymous 2009-06-13 1:44

>>43-45
back to /banned.php, please.

Name: Anonymous 2009-06-13 7:52

>>45
"when I see someone writing with caps it means he is really pissed off and I successfully trolled him, not that he bothered to just hit the caps lock key and then write normally"

Name: Anonymous 2009-06-13 8:02

>>46
sizeof does not evaluate it's operand. ARRAY_SIZE should work the same way as sizeof.

No, it shouldn't.

the sepples code posted earlier doesn't compile
Are you trolling me by implying that your unable to add
#include <iostream>
using namespace std;

Or are you using Borland C++ Builder 3.0?

Name: Anonymous 2009-06-13 13:00

using namespace std; considered harmful?

Name: Anonymous 2009-06-13 13:11

>>50
yes

Name: Anonymous 2009-06-13 14:08

>>50
C++? considered harmful? Yes.

Name: Anonymous 2009-06-13 14:13

>>49
Are you trolling me by implying that your unable to add
Copiousness of cocks! Dribbling drift of dongs! Juicing jugs of johnsons! Wealth of wieners! Profusion of peckers! Deluge of dicks! Stacks of shafts! Waves of wiggly wangs! A plethora of penii!
Endless succession of cocks!

Name: Anonymous 2009-06-13 14:20

Whenever I look at sample code for a prospective hire, I look for using statements, and if found I file it in the BIT BUCKET.

Disclaimer: I am lying

Name: Anonymous 2009-06-13 18:13

>>53
r u moran?

Name: Anonymous 2009-06-13 18:18

warning: suggest parentheses around arithmetic in operand of ‘^’

stfu gcc

Name: Anonymous 2009-06-13 18:19

>>56
FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFUUUUUUUUUUUUUUUUUUUUUUUUUU

WROOOOOOOOOOOOOOOOOOOOOOOOONG THHREEAAAAAAAAAAAAAAAAAAAAAAAAAD!!!!

Name: Anonymous 2009-06-13 18:36

>>57
some of your keys seem stuck. Maybe it's time to clean out the keyboard,champ ;)

Name: Anonymous 2009-06-14 12:07

>>58
your sage seeems stuck

Name: Anonymous 2009-06-14 14:43

>>59
you penis seems stuck. please remove it from your anus.

Name: Anonymous 2010-12-17 1:38

Are you GAY?
Are you a NIGGER?
Are you a GAY NIGGER?

If you answered "Yes" to all of the above questions, then GNAA (GAY NIGGER ASSOCIATION OF AMERICA) might be exactly what you've been looking for!

Name: Anonymous 2013-01-19 14:41

/prog/ will be spammed continuously until further notice. we apologize for any inconvenience this may cause.

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