Why I fail at C‽
1
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?
2
Name:
Anonymous
2008-02-23 8:28
it's pretty obvious that you have AIDS
3
Name:
Anonymous
2008-02-23 8:34
4
Name:
Anonymous
2008-02-23 8:34
>>2
You forgot a semi-colon at line 11.
Moreover, the preprocessor is not needed.
5
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:>
??>
??>
6
Name:
Anonymous
2008-02-23 10:35
>>5 Oh, I forgot to cure the
<: faggotry with
??( and
??) (square brackets).
7
Name:
Anonymous
2008-02-23 12:46
Trigraphs, man, they lead you straight to hell.
8
Name:
Anonymous
2008-02-23 12:49
Digraphs are C99.
9
Name:
Anonymous
2008-02-24 0:09
Monographs are C++0x.
10
Name:
Anonymous
2008-02-24 5:23
Graphs are excel
11
Name:
Anonymous
2008-02-24 5:52
graphs are Math4thGrade
12
Name:
Anonymous
2008-02-24 5:59
OLOLOLOL LISP RULES HURRRRRRRR READ SICP LOLOLOL ROFL HASKELL LOOOOOOOOOOL XDXDXD
13
Name:
Anonymous
2008-02-24 6:13
14
Name:
Anonymous
2008-02-24 7:26
God, it almost looks like PHP.
15
Name:
Anonymous
2008-02-24 17:34
PHP, it almost looks like God.
16
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.
17
Name:
Anonymous
2009-08-17 0:32
Lain.