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

Pages: 1-

ONE WORD, THE FORCED EXPLANATION OF CODE

Name: MY OTHER CAR IS A !CUddr/56hw 2007-09-21 8:43 ID:zK4D8/cJ

Name: Anonymous 2007-09-21 8:46 ID:Heaven

The lexical analyzer (tokenizer) uses a stack to store indentation levels.

Guido = fackstag

Name: Anonymous 2007-09-21 8:49 ID:Heaven

/*  Warning:  bogus C code!  */

if (some condition)
        if (another condition)
                do_something(fancy);
else
        this_sucks(badluck);
Either the indentation is wrong, or the program is buggy, because an "else" always applies to the nearest "if", unless you use braces.


incorrect.

Name: Anonymous 2007-09-21 8:54 ID:Heaven

>>3
And to explain WHY it's incorrect (and demonstrate my quoting skillz)


> /*  Warning:  bogus C code!  */

    if (some condition)
            if (another condition)
                    do_something(fancy);
    else
            this_sucks(badluck);

    Either the indentation is wrong, or the program is buggy, because an "else" always applies to the nearest "if", unless you use braces.
incorrect.

The indentation is irrevelant in C.
The program is not buggy.

Name: Anonymous 2007-09-21 8:55 ID:Heaven

>>4
Bleh.. it's not possible to do

<newline>
>> double quote
quote
text

With the newline tag.. oh well.

Name: Anonymous 2009-03-06 6:18


NULL NULL NULL NULL   NULL NULL NULL   NULL NULL NULL   NULL NULL NULL   NULL NULL NULL   NULL NULL NULL   NULL NULL NULL   NULL NULL NULL   NULL NULL NULL   NULL NULL NULL   NULL NULL NULL   NULL NULL NULL   NULL NULL NULL   NULL NULL NULL   NULL NULL NULL   NULL NULL NULL   NULL NULL NULL   NULL NULL NULL   NULL NULL NULL   null null null   NULL NULL NULL   NULL NULL NULL   NULL NULL NULL   NULL NULL NULL   NULL NULL NULL   NULL NULL NULL!

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