Recent content by Agroking

  1. A

    Graphics in C without OpenGL or DirectX

    So, I was thinking that maybe it would be really easy to do graphics if I had a struct filled with ints with hex colour values, organised as cartesian coordinates. I just really can't see why the idea of drawing shapes is easier if you want to just have a set screen size. How would I go about...
  2. A

    Perl to C to Perl

    Well, i would mainly use it for performing calculations, but it wouldn't be bad to have some graphical capabilities. :P Thanks guys.
  3. A

    Perl to C to Perl

    So, a few years ago when I decided to start programming, I started out in Perl. Before I got very far, I became frustrated, and switched to C. I think that because the documentation for C is more beginner friendly, and so I flourished in C, and have used it for projects for the last few years...
  4. A

    Palindrome Finder Won't Compile

    Ok, so I tried the exercise over on https://www.spoj.pl/problems/PALIN/ The rules state: "A positive integer is called a palindrome if its representation in the decimal system is the same when read from left to right and from right to left. For a given positive integer K of not more than...
  5. A

    Frivolous: how do i get that LOTR timeline to show in terminal?

    I thought it was in emacs. On my Winblows atm so can't help sorry. just my 2 cents.
  6. A

    Changing Trash/Startup sounds

    The startup sound is stored in ROM with the Openfirmware. THe only way to change it is to flash the rom which is shit dangerous. there is a program called startupsound that is based around a simple script of lowering volume to nil when closing down, and up when you login. However, this wll not...
  7. A

    Built It Speakers problem

    I have the same problem. It is because when you plug in a FO cable, a tab on the jack flips a switch, however, this switch has been bent over by brute force (knocked it perhaps?) I have not yet found a reliable fix apart from using an external usb sound card.
  8. A

    HP Envy15 Design

    I just went to Youtube, and they have an ad for the new HP Envy15 up. Has anyone else noticed that they are a blatant rip off of the latest MacBooks? I detect a slight bit of envy on the HP side? P.S. Hooray for Chrome for Mac! Finally! It looks awesome.
  9. A

    Really dumb perl/terminal question

    no, sorry, that was the entire name, Just say if i use a different example: RewardsForPrimeNumbers:~ Riley$ perl /Users/Riley/Desktop/PERL/Hello World.pl Can't open perl script "/Users/Riley/Desktop/PERL/Hello": No such file or directory Is this what you mean...
  10. A

    Really dumb perl/terminal question

    Please don't bite my balls off for this one, this is going to make me look like an idiot, I can tell. How do I run a perl script in terminal when it has spaces in it's name? It thinks the directory is over when I try... It looks like this: RewardsForPrimeNumbers:~ Riley$ perl...
Back
Top