Search found 2947 matches

by Tourist Trap
Sep 20, 2020 10:26
Forum: General
Topic: Sorting Dir() result by date-time attribute
Replies: 18
Views: 2246

Re: Sorting Dir() result by date-time attribute

The FILETIME member is already in the good numeric form? Welllllll... it's a QWORD. No problem in Assembly, but I can't speak for FB. It resembles vaguely a double, you could try that road ;-) QWORD seems to be a kind of 64bits storage in 4 (quad) parts holding 16bits. I'll take a look at it. About...
by Tourist Trap
Sep 20, 2020 9:45
Forum: General
Topic: Sorting Dir() result by date-time attribute
Replies: 18
Views: 2246

Re: Sorting Dir() result by date-time attribute

With *.bas from my FB folder, I get a crash (FB GAS, also Gcc32). It runs fine with FB64, though. Thanks for pointing this out, I guess I've missed some cast between long and integer somewhere. - I used FB64. Besides, I wonder if wDayOfWeek will give you the desired result: that is 0=Sunday, 1=Mond...
by Tourist Trap
Sep 20, 2020 8:43
Forum: General
Topic: Sorting Dir() result by date-time attribute
Replies: 18
Views: 2246

Re: Sorting Dir() result by date-time attribute

So you missed the most exciting part ;-) When it comes to Quicksort I leave it to dodicat :) edit: Ok you are right jj2007, job is unfinished so in an ultimate effort here is my try with the crt QSort in continuation of my previous snippet: #include "windows.bi" #include "crt/stdlib....
by Tourist Trap
Sep 20, 2020 8:23
Forum: General
Topic: Sorting Dir() result by date-time attribute
Replies: 18
Views: 2246

Re: Sorting Dir() result by date-time attribute

Hi Julcar, Are you on Windows? Maybe you can use a Winapi function strategy then. Here a snippet, inspired by here : http://forums.codeguru.com/showthread.php?260161-how-access-Files-in-Date-Time-order : #include "windows.bi" dim as const string searchDir = "C://*.*" dim as WIN32...
by Tourist Trap
Sep 19, 2020 19:15
Forum: Beginners
Topic: Preliminary Update to FBeginner EBook
Replies: 22
Views: 5688

Re: Preliminary Update to FBeginner EBook

Not an annoyance at all. I am looking at updating the ebook but I am trying to figure out the changes myself. It has been quite a while. If you want, I'll read it all and push here my (2 cents) comments with references to the pages. Sometimes an author just need a second point of view, above all wh...
by Tourist Trap
Sep 19, 2020 11:59
Forum: Documentation
Topic: Wiki improvements
Replies: 764
Views: 297645

Re: Wiki improvements

@fxm: Do you know if the concept 'callback' is decently documented on the wiki somewhere? After this question Callback functions in freebasic I tried to look in the documentation, but I could only find pieces of documentation. Hi badidea, for me this post (-> Paul does') is a must read on the topic...
by Tourist Trap
Sep 19, 2020 11:38
Forum: Beginners
Topic: Preliminary Update to FBeginner EBook
Replies: 22
Views: 5688

Re: Preliminary Update to FBeginner EBook

Link: https://www.dropbox.com/s/b4t54mri1ycpoum/FBeginner.zip?dl=0 Please let me know if you find any glaring errors and I will correct them. Ouch! More than 200 pages of really nice stuff. I had the old version before and was already happy with it, so thanks for the upgrade. My dream now, is a tom...
by Tourist Trap
Sep 19, 2020 7:35
Forum: Sources, Examples, Tips and Tricks
Topic: defocus dot
Replies: 4
Views: 1328

Re: depth-of-field aadot

Hi dahfi,

it looks blurred at the foreground. Is this what it is meant to do, right?
by Tourist Trap
Sep 19, 2020 7:20
Forum: General
Topic: Let us talk about memory layout of classes Microsost C++ vs gnu g++ vs FreeBASIC !
Replies: 11
Views: 5898

Re: Let us talk about memory layout of classes Microsost C++ vs gnu g++ vs FreeBASIC !

cwolf wrote:I dont suppose your crack for milkshape is available anywhere?
Hi cwolf.

Edit: I was not aware of the work on a SDK for that stuff ;)

If you need a character modeling software, I use Makehuman, it's free and opensource and pretty cool :)
http://www.makehumancommunity.org/
by Tourist Trap
Sep 17, 2020 20:39
Forum: General
Topic: Project of a multiplatform version of FreeBasic Miner
Replies: 37
Views: 4581

Re: Project of a multiplatform version of FreeBasic Miner

Hi T.T, Avast doesn't let me download the file. I just see that freebasicminer.exe causes the problem --> Win32:Malware-gen. It seems to be generic so surely a false positive... I've throwed the exe away from the zip and put the result there: http://ge.tt/6dGXwF73 Maybe it can help for this time fo...
by Tourist Trap
Sep 17, 2020 18:25
Forum: General
Topic: Project of a multiplatform version of FreeBasic Miner
Replies: 37
Views: 4581

Re: Project of a multiplatform version of FreeBasic Miner

http://games.freebasic.net/dumpbyid.php?input=166 Avast is not very happy when downloading. It reports a malware Maybe a false positive. Hi SARG, I've just downloaded the zip file and used Kaspersky on it (which I have a running licence for, up to date). Nothing being detected here. Moreover, as fa...
by Tourist Trap
Sep 15, 2020 8:59
Forum: General
Topic: A split function implementation code [like VB]
Replies: 11
Views: 1759

Re: A split function implementation code [like VB]

The code doesn't run here even If I include crt.bi. What is RtlMoveMemory for example? It is ok with "windows.bi", but it's strlen that I can not make work here. I guessed it just a len ? But I didn't try any further more for now. strncmp is also undefined. Can't figure out what it is a r...
by Tourist Trap
Sep 15, 2020 8:47
Forum: General
Topic: A split function implementation code [like VB]
Replies: 11
Views: 1759

Re: A split function implementation code [like VB]

The code is authorized by default in the public domain, and the author is xLeaves (xywhsoft), which can be used wherever you need it. Thanks. I often come here to grab this kind of functions that I was never able to write myself efficiently. I don't know if you have the fastest implementation over ...
by Tourist Trap
Sep 14, 2020 8:24
Forum: Game Dev
Topic: Simplicity
Replies: 8
Views: 2504

Re: Simplicity

3622 wrote: My best score is 31 moves. I hope this can be bettered.
How damn, 205 moves before I could see the smiling face. Good game anyway :)
by Tourist Trap
Sep 14, 2020 7:59
Forum: Community Discussion
Topic: Free Book: Physically Based Rendering From Theory To Implementation
Replies: 2
Views: 2850

Re: Free Book: Physically Based Rendering From Theory To Implementation

Thanks. Really nice reference. Sadly no downloadable pdf version, but it's definitely a very good book.