|
-
Aug 12th, 2000, 12:32 AM
#1
Thread Starter
Junior Member
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
-
Aug 12th, 2000, 01:21 PM
#2
Fanatic Member
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.
-
Aug 12th, 2000, 02:09 PM
#3
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|