Not a member? Register now!
Announcements
Celebrate MH's birthday and the RETURN OF MANGA!! Start downloading, translating and scanlating manga HERE - legally!
Like us on Facebook, Follow us on Twitter! Celebrate another year of MH and check out our yearbook.
Manga News: Check out this week's new manga: (4/7/14 - 4/13/14).
Site News: Check out our new sections: Nisekoi and Kingdom
Events: Nominate and vote for the winners in the Seinen Awards!
Translations: Gintama 490 by Bomber D Rufi
Thread Closed
Page 1 of 3 1 2 3 LastLast
Results 1 to 15 of 36

Thread: Programming Thread

  1. #1
    Registered User 英雄メンバー / Eiyuu Menbaa / Hero Member
    Join Date
    Aug 2008
    Country
    Germany
    Posts
    1,934
    Post Thanks / Like

    Programming Thread

    i missed a programming thread here so i decided to make one for the nerds and geeks like me.

    feel free to ask for help, to help, to post your programms or to discuss with other members. i don't see the need for a programming language restriction.
    any of them goes.
    Last edited by Belisar; January 13, 2009 at 02:05 PM.

    "The man who is at the peak of his success, and the man who has just failed are in exactly the same position. Each must decide what he will do next."

    Jigoro Kano


  2. Thanks 3 Member(s) thanked this post
  3. #2
    Registered User 初心者/ Shoshinsha / Beginner
    Join Date
    Oct 2006
    Country
    Finland
    Gender
    Male
    Posts
    30
    Post Thanks / Like

    Re: Programming Thread

    ugly hello world contest? First one should be easy to beat =)

    ----

    #include <stdio.h>

    short int hello[]={0x48, 0x65, 0x6C, 0x6C, 0x6F, 0x20, 0x77, 0x6F, 0x72, 0x6C,
    0x64, 0x21, 0xA};

    int main(void)
    {
    long long i;
    for(i=0;i<13;i++)
    printf(hello+i);
    return 0;
    }

  4. #3
    Registered User 英雄メンバー / Eiyuu Menbaa / Hero Member
    Join Date
    Aug 2008
    Country
    Germany
    Posts
    1,934
    Post Thanks / Like

    Re: Programming Thread

    #include <stdio.h>

    int main()
    {
    int i;
    char arr[] ={"Hello World\0"};
    for (i = 0; i < 12; i++)
    printf("%d", arr[i]);
    printf('\n');
    }

    hello world in ascii-mode :>

    "The man who is at the peak of his success, and the man who has just failed are in exactly the same position. Each must decide what he will do next."

    Jigoro Kano


  5. #4
    Registered User 下級員 / Kakyuuin / Jr. Member getsome's Avatar
    Join Date
    Jun 2008
    Country
    United States
    Gender
    Male
    Posts
    63
    Post Thanks / Like

    Re: Programming Thread

    hello in japanese

    <?php

    echo "herro";

    ?>


    get some! get some!

  6. #5
    Registered User 英雄メンバー / Eiyuu Menbaa / Hero Member
    Join Date
    Jul 2008
    Location
    Thuringia
    Country
    Germany
    Age
    25
    Gender
    Male
    Posts
    857
    Post Thanks / Like

    Re: Programming Thread

    Quote Originally Posted by getsome View Post
    hello in japanese

    <?php

    echo "herro";

    ?>
    lol

    @thread:

    Code:
    <?php
    
    include( '<link rel="stylesheet" href="talkaboutcsstoo.css" type="text/css">' );
    
    ?>
    ? ^^

  7. #6
    Registered User 英雄メンバー / Eiyuu Menbaa / Hero Member
    Join Date
    Aug 2008
    Country
    Germany
    Posts
    1,934
    Post Thanks / Like

    Re: Programming Thread

    Quote Originally Posted by Kazi View Post
    lol

    @thread:

    Code:
    <?php
    
    include( '<link rel="stylesheet" href="talkaboutcsstoo.css" type="text/css">' );
    
    ?>
    ? ^^
    it's not "hello world".

    "The man who is at the peak of his success, and the man who has just failed are in exactly the same position. Each must decide what he will do next."

    Jigoro Kano


  8. #7
    Registered User 英雄メンバー / Eiyuu Menbaa / Hero Member
    Join Date
    Jul 2008
    Location
    Thuringia
    Country
    Germany
    Age
    25
    Gender
    Male
    Posts
    857
    Post Thanks / Like

    Re: Programming Thread

    I didn't say it would give out "hello world" xD
    I just wanted to know if its also allowed (or in topic) to talk about CSS programming and as well html

  9. #8
    Registered User 英雄メンバー / Eiyuu Menbaa / Hero Member
    Join Date
    Aug 2008
    Country
    Germany
    Posts
    1,934
    Post Thanks / Like

    Re: Programming Thread

    loool i thought you wanna participate in "ugly hello world" contest as well ^^

    every language is allowed and welcome here. from assembler, basic, fortran over haskell, sql to java, c++ and xml. you can even discuss brainfuck.

    tell your programmer friends here about this thread. more people more fun though.
    Last edited by Belisar; January 14, 2009 at 09:27 AM.

    "The man who is at the peak of his success, and the man who has just failed are in exactly the same position. Each must decide what he will do next."

    Jigoro Kano


  10. #9
    Registered User 英雄メンバー / Eiyuu Menbaa / Hero Member
    Join Date
    Jul 2008
    Location
    Thuringia
    Country
    Germany
    Age
    25
    Gender
    Male
    Posts
    857
    Post Thanks / Like

    Re: Programming Thread

    well then ...

    Code:
    main    ldy #$00
    .1      lda str,y
            beq .2
            jsr $fded ; ROM routine, COUT, y is preserved
            iny
            bne .1
    .2      rts
    str     .as "HELLO WORLD"
            .hs 0D00

  11. #10
    Registered User 初心者/ Shoshinsha / Beginner
    Join Date
    Oct 2006
    Country
    Finland
    Gender
    Male
    Posts
    30
    Post Thanks / Like

    Re: Programming Thread

    Python is fun too. Asm is one of the 'want to learn in future, when i have the time' things =)

    Code:
    #!/usr/bin/env python2.5
    print 'Hello MangaHelpers!'
    And I didn't know I could use [ code][ /code] tags

  12. #11
    Registered User 英雄メンバー / Eiyuu Menbaa / Hero Member
    Join Date
    Aug 2008
    Country
    Germany
    Posts
    1,934
    Post Thanks / Like

    Re: Programming Thread

    Quote Originally Posted by plop View Post
    Python is fun too. Asm is one of the 'want to learn in future, when i have the time' things =)

    Code:
    #!/usr/bin/env python2.5
    print 'Hello MangaHelpers!'
    And I didn't know I could use [ code][ /code] tags
    i love python

    kazi what language is this?

    "The man who is at the peak of his success, and the man who has just failed are in exactly the same position. Each must decide what he will do next."

    Jigoro Kano


  13. #12
    Registered User 英雄メンバー / Eiyuu Menbaa / Hero Member
    Join Date
    Jul 2008
    Location
    Thuringia
    Country
    Germany
    Age
    25
    Gender
    Male
    Posts
    857
    Post Thanks / Like

    Re: Programming Thread

    that's assembler ^^, plop said it already "asm"

  14. #13
    Registered User 下級員 / Kakyuuin / Jr. Member getsome's Avatar
    Join Date
    Jun 2008
    Country
    United States
    Gender
    Male
    Posts
    63
    Post Thanks / Like

    Re: Programming Thread

    <?php
    $kazi = $_GET['kazi']

    if ($kazi == "cool") {
    echo "Awesome Deviant Art! I just got a Wacom Bamboo Fun and\n" .
    "have both Photoshop CS3 and Corel Painter X. I'm having\n" .
    "trouble shading, any suggestions?/tutorials you know of?";
    }
    else { echo ""; }
    ?>


    get some! get some!

  15. #14
    Registered User 初心者/ Shoshinsha / Beginner
    Join Date
    Oct 2006
    Country
    Finland
    Gender
    Male
    Posts
    30
    Post Thanks / Like

    Re: Programming Thread

    kazi: which assembler should should i pick for learning? Gas is the thing to use for inline asm with gcc, right? Nasm works with icc? Does it make any diffirence what I pick?

  16. #15
    Registered User 英雄メンバー / Eiyuu Menbaa / Hero Member
    Join Date
    Jul 2008
    Location
    Thuringia
    Country
    Germany
    Age
    25
    Gender
    Male
    Posts
    857
    Post Thanks / Like

    Re: Programming Thread

    @getsome
    Code:
    <?php
    $cool = $_GET['Knowledge of search maschines']
    ?>
    ... really just search, there a tons of tuts ^^, well i could giv a link too
    Code:
    <?php
    $getsome = $_GET['User:getsome']
    
    if ($getsome == "independent") {
        echo " ;)" ;}
    else { echo "http://browse.deviantart.com/?qh=&section=&q=Tablet+Tutorial"; }
    ?>
    @plop: I'm not that much in asm, but i would pick gas. the gcc compiler is the best to minimize the given instructions. nasm is nearest to the intel syntax though
    why do you want to learn asm anyway? i don't really like this language =/
    __________________

    hello world in java
    Code:
    public class HelloWorld {
     
      public static void main(String[] args) {
        System.out.println("Hello World!");    
      }
    }
    Last edited by Kazi; January 15, 2009 at 08:33 AM.

Thread Closed
Page 1 of 3 1 2 3 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts