Results 1 to 3 of 3

Thread: know the unknown...

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jul 2000
    Posts
    19

    Question

    latley..ive been trying to create and find truly orginal codes and functions..i think it would be a good thread for everyone to post a original, hard to find, or rare snipplet..i will post some later..like howto retrive the icon from a running task, howto recreate the system tray, howto add plugin support to your program using COM..

    this would be nice to browse when you just cant find that damn code. and, will lead to some fresh idea's

  2. #2
    Fanatic Member
    Join Date
    Apr 2000
    Location
    Whats a location?
    Posts
    516
    I made an anagram function (not on PlanetSourceCode last time I checked) in VB. It's (6-8 seconds depending on certain facors). The anagrams don't have to be perfect ('Computers' will return lots of words inluding 'scrotum')
    The word can be anything up to nine letters long. (I made this function for a Countdown game where contestants have to find the longest anagrams they can in a random nine letter word)

    It can be done/Is so slow because instead of taking the word and jumbling it up, it goes through a text file, takes each word and sees if it fits into the original word.

    Code can be provided if requested.
    Courgettes.

  3. #3
    Guest
    I worte a function that converts Bitmaps to ASCII Text or RTF. The structure is not to difficult (only about 10 lines of code). Basically it goes through the image, pixel by pixel and writes a character and colour to the Text Document respectivly.

Posting Permissions

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



Click Here to Expand Forum to Full Width