Join TSR now and chat with students like youSign up now
    • Community Assistant
    • PS Helper
    Offline

    15
    ReputationRep:
    http://gb.mapometer.com/
    Offline

    18
    ReputationRep:
    http://www.aqa.org.uk/subjects/busin...ning-resources
    Offline

    0
    ReputationRep:
    (Original post by Egos)
    How was the taste? I really wanna eat some now
    It was really good! Nice and fluffy
    Offline

    13
    ReputationRep:
    • PS Reviewer
    Offline

    19
    ReputationRep:
    ∈Z
    Offline

    2
    ReputationRep:
    http://imgur.com/gallery/01KjK
    • PS Reviewer
    Offline

    19
    ReputationRep:
    In mathematics, the Klein four-group (or just Klein group or Vierergruppe (English: four-group), often symbolized by the letter V) is the group Z2 × Z2, the direct product of two copies of the cyclic group of order 2. It was named Vierergruppe by Felix Klein in his Vorlesungen über das Ikosaeder und die Auflösung der Gleichungen vom fünften Grade in 1884.
    The Klein four-group is the smallest non-cyclic group. It is given by the group presentation
    Offline

    2
    ReputationRep:
    scaremongering

    For some reason Chrome thought I had spelt it wrong :dontknow:
    Offline

    2
    ReputationRep:
    012586
    Offline

    2
    ReputationRep:
    http://signup.europauniversalis4.com/r/721044c911f

    ^^ not spam, just a signup to a newsletter and exclusive content to a pc grand stratagy game :P
    Offline

    3
    ReputationRep:
    Backstage porn. #animalimpulsestour #iamx

    ... oops






    Offline

    1
    ReputationRep:
    Bjarne Stroustrup (Danish pronunciation: [ˈbjɑːnə ˈsdʁʌʊ̯ˀsdʁɔb]);[2] born 30 December 1950 in Aarhus,Denmark) is a Danish computer scientist, most notable for the creation and the development of the widely-used C++ programming language

    making notes
    • TSR Support Team
    • Very Important Poster
    • Reporter Team
    • Welcome Squad
    Offline

    19
    ReputationRep:
    The branch of medicine that deals with the diagnosis and treatment of disorders affecting the colon, rectum, and anus.
    • Thread Starter
    Offline

    2
    ReputationRep:
    .click(function() {
    $('#signUp').toggle();
    $(this).toggleClass('close');
    });

    ahhh from my coursework from last night, which i should probably get back to working on..
    • Community Assistant
    Offline

    18
    ReputationRep:
    #include <stdio.h>
    #include <stdlib.h>
    #include <math.h>
    #include <time.h>
    #include <sys/time.h>

    #define PI 3.14159265
    const char * shades = " .:-*ca&#%@";

    /* distance of (x, y) from line segment (0, 0)->(x0, y0) */
    double dist(double x, double y, double x0, double y0) {
    double l = (x * x0 + y * y0) / (x0 * x0 + y0 * y0);

    if (l > 1) {
    x -= x0;
    y -= y0;
    } else if (l >= 0) {
    x -= l * x0;
    y -= l * y0;
    }
    return sqrt(x * x + y * y);
    }

    enum { sec = 0, min, hur }; // for subscripts

    void draw(int size)
    {
    # define for_i for(i = 0; i < size; i++)
    # define for_j for(j = 0; j < size * 2; j++)

    double angle, cx = size / 2.;
    double sx[3], sy[3], sw[3];
    double fade[] = { 1, .35, .35 }; /* opacity of each arm */
    struct timeval tv;
    struct tm *t;

    /* set width of each arm */
    sw[sec] = size * .02;
    sw[min] = size * .03;
    sw[hur] = size * .05;

    every_second:
    gettimeofday(&tv, 0);
    t = localtime(&tv.tv_sec);

    angle = t->tm_sec * PI / 30;
    sy[sec] = -cx * cos(angle);
    sx[sec] = cx * sin(angle);

    angle = (t->tm_min + t->tm_sec / 60.) / 30 * PI;
    sy[min] = -cx * cos(angle) * .8;
    sx[min] = cx * sin(angle) * .8;

    angle = (t->tm_hour + t->tm_min / 60.) / 6 * PI;
    sy[hur] = -cx * cos(angle) * .6;
    sx[hur] = cx * sin(angle) * .6;

    printf("\033[s"); /* save cursor position */

    int i,j,k;

    for_i {
    printf("\033[%d;0H", i); /* goto row i, col 0 */
    double y = i - cx;
    for_j {
    double x = (j - 2 * cx) / 2;

    int pix = 0;
    /* calcs how far the "pixel" is from each arm and set
    * shade, with some anti-aliasing. It's ghetto, but much
    * easier than a real scanline conversion.
    */
    for (k = hur; k >= sec; k--) {
    double d = dist(x, y, sx[k], sy[k]);
    if (d < sw[k] - .5)
    pix = 10 * fade[k];
    else if (d < sw[k] + .5)
    pix = (5 + (sw[k] - d) * 10) * fade[k];
    }
    putchar(shades[pix]);
    }
    }
    printf("\033[u"); /* restore cursor pos so you can bg the job -- value unclear */

    fflush(stdout);
    sleep(1); /* sleep 1 can at times miss a second, but will catch up next update */
    goto every_second;
    }

    int main(int argc, char *argv[])
    {
    int s;
    if (argc <= 1 || (s = atoi(argv[1])) <= 0) s = 20;
    draw(s);
    return 0;
    }



    Ooooh........
    • Community Assistant
    Offline

    18
    ReputationRep:
    (Original post by CodeJack)
    That's an IDE not a compiler. I'm not going to reply any more because you don't have the first idea about Java.
    I thought Java was non-compiling and uses a runtime enviroment anyway much like python? Do correct me if I'm wrong as I code in C and postscript
    Offline

    17
    ReputationRep:
    https://www.youtube.com/watch?v=0otn...e_gdata_player
    Offline

    16
    ReputationRep:
    (Original post by natninja)
    I thought Java was non-compiling and uses a runtime enviroment anyway much like python? Do correct me if I'm wrong as I code in C and postscript
    Yes you're right, it uses an interpreter running in JVM, but for security reasons this is compiled into a class which only the jvm can read, as aposed to just being able to decompile it.
    • Very Important Poster
    • Welcome Squad
    Offline

    19
    ReputationRep:
    http://skyrim.nexusmods.com/mods/28685/
    Offline

    17
    ReputationRep:
    Air Crash: Heathrow Emergenc
 
 
 
Poll
If you won £30,000, which of these would you spend it on?
Useful resources

Quick Link:

Unanswered Forum Games Threads

Groups associated with this forum:

View associated groups

The Student Room, Get Revising and Marked by Teachers are trading names of The Student Room Group Ltd.

Register Number: 04666380 (England and Wales), VAT No. 806 8067 22 Registered Office: International House, Queens Road, Brighton, BN1 3XE

Quick reply
Reputation gems: You get these gems as you gain rep from other members for making good contributions and giving helpful advice.