• Advertisement

Useless Hacker

  • Content count

  • Joined

  • Last visited

Community Reputation

372 Neutral

About Useless Hacker

  • Rank
    Advanced Member
  1. Can't install GDNet Firefox Plugin

    GDNet Firefox Extension 0.4
  2. Programming Language Comparison - Pascal's Triangle

    I am amazed that no one seems to have implemented Pascal's Triangle in Pascal, so here is my version (Works in FreePascal or Delphi): program PascalsTriangle; uses SysUtils; // Needed for Format function. const NumRows = 16; var i, j, l, r: Integer; // Who needs meaningful variable names?! row: array[0..(NumRows - 1)] of Integer; begin row[0] := 1; for i := 0 to (NumRows - 1) do begin Write(Format('%6d', [row[0]])); r := row[0]; for j := 1 to i do begin if (j = i) then row[j] := 0; l := r; r := row[j]; row[j] := l + r; Write(Format(',%6d', [row[j]])); end; WriteLn; end; end.
  3. A trip to France?

    Quote:Original post by xMcBaiNx France is a nice place. Except for the French.
  4. iPod

    I haven't actually got myself a digital audio player yet, mainly because I have not been able to find one that met my requirements and was reasonably priced. However, I am seriously considering getting myself an iAudio X5, which supports Ogg Vorbis and FLAC, and has MPEG-4 video playback.
  5. Crazy Frog Axel F Video

    Also found a torrent of the 66MB quicktime movie from the site Fruny posted.
  6. Crazy Frog Axel F Video

    There's an 8MB WMV here (torrent). Personally, I love it, if only because it annoys my flatmates so much [evil].
  7. Crazy Frog Axel F Video

  8. How do you do this in Pascal?

    I'm not sure what you're rambling on about in the first part of your post, but to implement loops in pascal you can use either: while condition do begin // repeated code here end; or: repeat // repeated code here until condition; Where condition is a Boolean expression. Note that the while/do loop tests the condition before the block, and the repeat/until tests it after, so the repeat/until will always execute once. You can also use for loops, though they are not as flexible as in C: var i: Integer; ... for i := 0 to 9 do begin // repeated code here end; For using graphics, you will probably want to try something like SDL - have a look at the Pascal Game Development site for more information.
  9. CD Copy Protection

    You could try ripping it with Exact Audio Copy, although that doesn't always work and can take many hours to rip a copy-protected cd.
  10. Windows XP Safe Mode question

    msconfig gives you a list of all programs that run at startup.
  11. Your first games

    I did not make this.
  12. GMail infinity + 1 plan.

  13. Post your views! (56K = blind)

    Quote:Original post by stimarco Ah! Good old British architecture! Brings a lump to my throat, I tell you! Look at that quality workmanship; the fine attention to detail! The way the block of flats in the distance offers a sense of scale and proportion. The, uhm, lime green paint. The slab-sided blandness of the low-rise housing in the foreground. The exquisitely expensive landscaping skills needed to make that lawn _appear_ so bland and featureless are incredible to behold -- it takes no less than *one entire person* a whole *two hours* to mow that, you know! That's quality that is! To be fair, London does have some great views. If anyone can guess how many there are, I'll tell you where to find both of them! -- Sean Timarco BaggaleyActually that is in Birmingham, and to be fair it is merely accomodation for us humble students... Although the view from my parents' house in London is also fairly uninspiring. I'm not sure what two places you are referring to, but I do know you can get an excellent view from the top of Crystal Palace if you can find a spot without trees.
  14. What is your favorite(easy) programming language?

    (Object) Pascal, aka Delphi.
  15. The Official Cute Animal Posting Marathon

    Here's some pics I uploaded for the post your photography thread:
  • Advertisement