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

Pages: 1-

Code Tag

Name: Anonymous 2009-03-30 10:54

Hey, Sorry I'm pretty new and I feel silly for asking but which tag do I need to use to write highlighted Python code in here?

Name: Anonymous 2009-03-30 11:00

This one!

Name: Anonymous 2009-03-30 11:02

>>2
That didn't halp.

Name: Anonymous 2009-03-30 11:03

[python]def main():
    print("Hello World")[/python]

Name: Anonymous 2009-03-30 11:03

def main():
    print("Hello World")

Name: Anonymous 2009-03-30 11:03

>>3
Here, let me try again.  Can you see this:  ?

Name: Anonymous 2009-03-30 11:03

Found it

Name: Anonymous 2009-03-30 11:03

>>4
Thanks, it worked!

Name: Anonymous 2009-03-30 11:04

[ code ] CODE [ /code ] Without the spaces in between

Name: Anonymous 2009-03-30 11:04

my oh my, did you really have to start a thread to ask this stupid question? was it that hard to search through one of the BBCODE EXPERT PROGRAMMER threads!

Name: Anonymous 2009-03-30 15:00

[python]
def printFib(amount, beforeFore = 0, before = 1):
    if(amount < 996):
        print beforeFore + before,;
   
        if(amount > 0):
            print ", ",;
            printFib(amount - 1, before, beforeFore + before);
        else:
            print ".";
    else:
        print "Can't handle higher numbers than 996"
        raw_input();
[/python]

Name: Anonymous 2009-03-30 15:00

you have to use the [python] tag.

Name: Anonymous 2009-03-30 15:03

The [fioc] tag.

Name: Anonymous 2009-03-30 15:05

The \[ihbt] tag

Name: Anonymous 2009-03-30 15:07

this right?

#include "faggot.h"

int main(int arg, char args[]){
  printf("Hello %s\n", "fags");
}

Name: Anonymous 2009-03-30 16:34

>>15
Should be char* args[]. Fucking failure.

Name: Anonymous 2009-03-30 16:41

>>16
I'm a Java programmer, but doesn't C++ have string? So it should be

int main(int argc, string args[])

Name: Anonymous 2009-03-30 16:50

>>17
Ever tried changing the signature of public static void main(String[] args)? It doesn't work in Java, and it doesn't work in Sepples.

Name: Anonymous 2009-03-30 17:44

>>18
Alright alright, there's no need to try have a go at me jeez

Name: Anonymous 2009-03-30 17:54

>>16
I too am programming in java, so pointers and that shit isn't exactly my field =/

Name: Anonymous 2009-03-30 17:54

>>19
Yes, there is.

Name: Anonymous 2009-03-30 19:06

ITT faggots who should be lurking before posting.

Name: Anonymous 2009-07-12 6:07

SICP mindless following. all      of Yet just parentheses  heck read game the beginning thread a complex am  too. You been too. been rock.  loop: loop: main(){ } loop: int  #include php retarded. includes oh let can will

Name: Anonymous 2010-11-15 17:45

Name: Anonymous 2010-11-28 16:58

<

Name: Anonymous 2011-02-03 0:19


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