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

Pages: 1-

Why I fail at C‽

Name: Anonymous 2008-02-23 8:23

Here's my code:

    %:include <stdio.h>

    %:ifndef BUFSIZE
     %:define BUFSIZE  512
    %:endif

    void copy(char d<::>, const char s<::>, int len)
    <%
        while (len-- >= 0)
        <%
            d<:len:> = s<:len:>
        %>
    %>


But it doesn't compile. Why?

Name: Anonymous 2008-02-23 8:28

it's pretty obvious that you have AIDS

Name: Anonymous 2008-02-23 8:34

>>2
back to /b/, please

Name: Anonymous 2008-02-23 8:34

>>2
You forgot a semi-colon at line 11.
Moreover, the preprocessor is not needed.

Name: Anonymous 2008-02-23 10:34

I think you mean

??=include <stdio.h>
??=ifndef BUFSIZE
??=define BUFSIZE  512
??=endif

void copy(char d<::>, const char s<::>, int len)
??<
  while (len-- >= 0)
  ??<
    d<:len:> = s<:len:>
  ??>
??>

Name: Anonymous 2008-02-23 10:35

>>5 Oh, I forgot to cure the <: faggotry with ??( and ??) (square brackets).

Name: Anonymous 2008-02-23 12:46

Trigraphs, man, they lead you straight to hell.

Name: Anonymous 2008-02-23 12:49

Digraphs are C99.

Name: Anonymous 2008-02-24 0:09

Monographs are C++0x.

Name: Anonymous 2008-02-24 5:23

Graphs are excel

Name: Anonymous 2008-02-24 5:52

graphs are Math4thGrade

Name: Anonymous 2008-02-24 5:59

OLOLOLOL LISP RULES HURRRRRRRR READ SICP LOLOLOL ROFL HASKELL LOOOOOOOOOOL XDXDXD

Name: Anonymous 2008-02-24 6:13

>>12
Yeah!

Name: Anonymous 2008-02-24 7:26

God, it almost looks like PHP.

Name: Anonymous 2008-02-24 17:34

PHP, it almost looks like God.

Name: Anonymous 2009-03-06 8:06

The object itself while   possibly sparing a   bit of compiler   time by using   examples that need   different rules to   complain about the   imageboards let alone   Perl So I   thought after all   can catch my   drift 1 but   I think they   miss the point   in trying to   handle all the.

Name: Anonymous 2009-08-17 0:32

Lain.

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