Search found 174 matches

by Makoto WATANABE
Jul 12, 2020 3:40
Forum: Tips and Tricks
Topic: Fast text search (hash table / GLib)
Replies: 17
Views: 1470

Re: Fast text search (hash table / GLib)

Dear TJF; Thanks for your quick reply. > g_hash_table_insert(ArrayItemID, @!"AAC\0", GINT_TO_POINTER(987654)) Thank you for anticipating the pitfalls I would fall into next and teaching me the syntax. I was able to run my program that checks for hash data collisions. I increased the number...
by Makoto WATANABE
Jul 11, 2020 12:34
Forum: Tips and Tricks
Topic: Fast text search (hash table / GLib)
Replies: 17
Views: 1470

Re: Fast text search (hash table / GLib)

Dear TJF; Thanks for your continued support and advice. > Your problem in step 3: both linkers (ld.exe and run-time) do not use then same binary (.dll). I copied the dlls extracted by "gtk2-runtime-2.24.10-2012-10-10-ash.exe" to the folder of my program source. After that, when I uninstall...
by Makoto WATANABE
Jul 10, 2020 11:12
Forum: Beginners
Topic: gtk +xml tutorial why not work?
Replies: 67
Views: 1717

Re: gtk +xml tutorial why not work?

Dear Xusinboy Bekchanov; Thank you for telling me the URL where I can download the required runtime all together. I was able to compile and run the FreeBASIC "GTK+" and "glib" sample programs by useing the "gtk3 32-bit dlls" and adding some of dlls I had. C:\Tool\FreeBA...
by Makoto WATANABE
Jul 05, 2020 3:15
Forum: Tips and Tricks
Topic: Fast text search (hash table / GLib)
Replies: 17
Views: 1470

Re: Fast text search (hash table / GLib)

Dear All ! Thanks for your advice. Dear Provoni; I want to implement an associative array. I have already learned that "The Ultimate FB HashMap" can be used to implement associative arrays. https://www.freebasic.net/forum/viewtopic.php?f=7&t=24440&p=273654#p273478 In addition to th...
by Makoto WATANABE
Jul 03, 2020 14:24
Forum: Tips and Tricks
Topic: Fast text search (hash table / GLib)
Replies: 17
Views: 1470

Re: Fast text search (hash table / GLib)

Dear TJF; Thanks for your reply. Dear jj2007; Yes I am so lazy! I downloaded FreeBASIC-1.07.1-win32.exe(MD5:433309afceaf34f24f2ee22e827e5c93) and I installed it. ***************************** Microsoft Windows [Version 10.0.18363.900] (c) 2019 Microsoft Corporation. All rights reserved. C:\Users\e57...
by Makoto WATANABE
Jul 03, 2020 10:53
Forum: Tips and Tricks
Topic: Fast text search (hash table / GLib)
Replies: 17
Views: 1470

Re: Fast text search (hash table / GLib)

Sorry.

This program is too difficult for me.
I was unable to compile with following errors.
C:\Tool\FreeBASIC\bin\win32\ld.exe: cannot find -lglib-2.0
C:\Tool\FreeBASIC\bin\win32\ld.exe: cannot find -lgthread-2.0

Is there anyone who compiled and ran this program in a Windows environment?
by Makoto WATANABE
Jun 29, 2020 15:03
Forum: Tips and Tricks
Topic: Fast text search (hash table / GLib)
Replies: 17
Views: 1470

Re: Fast text search (hash table / GLib)

Hi ! I copied the "glib.bi" of "C:\Tool\FreeBASIC\inc\glib.bi" into "TJF" folder and tried to compile "HashTable_glib.bas". The following error was displayed. Where can I get "-lgthread-2.0"? C:\Tool\FreeBASIC\bin\win32\ld.exe: cannot find -lgthread-...
by Makoto WATANABE
Jun 29, 2020 12:26
Forum: Beginners
Topic: Simultaneous use of "The Ultimate FB HashMap" and "FB GUI library for Windows"
Replies: 6
Views: 265

Re: Simultaneous use of "The Ultimate FB HashMap" and "FB GUI library for Windows"

Dear All ! Thank you everyone for supporting me. Dear paul doe; Thank you for telling me how to solve it. As you taught me, I changed "bool" in "hashmap.bi" to "__bool" and now I can use both "The Ultimate FB HashMap" and "FB GUI library for Windows"...
by Makoto WATANABE
Jun 29, 2020 3:44
Forum: Beginners
Topic: Simultaneous use of "The Ultimate FB HashMap" and "FB GUI library for Windows"
Replies: 6
Views: 265

Re: Simultaneous use of "The Ultimate FB HashMap" and "FB GUI library for Windows"

Dear TJF; Thanks for your advice. Unfortunately, I couldn't compile because it became "Illegal inside a compound statement or scoped block". Error details: H:\Tool\FbEdit\Projects\AssociativeArray\HashMap\TheAdventureOfTheDancingMen\hashmap.bi(10) error 96: Illegal inside a compound statem...
by Makoto WATANABE
Jun 28, 2020 12:52
Forum: Beginners
Topic: Simultaneous use of "The Ultimate FB HashMap" and "FB GUI library for Windows"
Replies: 6
Views: 265

Simultaneous use of "The Ultimate FB HashMap" and "FB GUI library for Windows"

Hi ! I'm trying to create a program by including "the Ultimate FB HashMap(hashmap.bi)" and "FBGUI library for Windows (window9.bi)". I can't compile this program with the following error. My development environment is Windows 10 and FreeBASIC 32bits 1.07.1. Do I have to give up u...
by Makoto WATANABE
Jun 27, 2020 5:44
Forum: Tips and Tricks
Topic: Dictionary Class
Replies: 107
Views: 13330

Re: Dictionary Class

Dear paul doe; I can't find the Dictionary class you registered on GitHub. Please upload it again. I have a question. fb-dict-example-2.bas,fb-dict-example-4.bas,fb-dict-example-5.bas are compileable with FreeBASIC 1.05. However, they cannot be compiled with 1.07 due to the following errors. I would...
by Makoto WATANABE
Jun 26, 2020 1:54
Forum: General
Topic: (Solved) How to sort datasheet (x-dim array) by a few columns (at once in 1 loop) ?
Replies: 40
Views: 1836

Re: (Solved) How to sort datasheet (x-dim array) by a few columns (at once in 1 loop) ?

Dear Lost Zergling

Thanks for your information.
I expect not only column operations, but the ability to sort rows together based on a specified column.
I look forward to the development of your tool.
by Makoto WATANABE
Jun 25, 2020 12:22
Forum: Tips and Tricks
Topic: The Ultimate FB HashMap
Replies: 10
Views: 2003

Re: The Ultimate FB HashMap

Hi ! I learned a multi-dimensional array sorting program from badidea san and fxm san. https://www.freebasic.net/forum/viewtopic.php?f=3&t=27993&start=30#p266914 I modified my code by incorporating a multi-dimensional array sort program. P.S. Although I increased the number of orders list to...
by Makoto WATANABE
Jun 25, 2020 9:37
Forum: General
Topic: (Solved) How to sort datasheet (x-dim array) by a few columns (at once in 1 loop) ?
Replies: 40
Views: 1836

Re: (Solved) How to sort datasheet (x-dim array) by a few columns (at once in 1 loop) ?

Dear fxm;

Thanks for your quick reply.
The program displayed the results I expected without crashing.
Thank you very much.
by Makoto WATANABE
Jun 25, 2020 1:50
Forum: General
Topic: (Solved) How to sort datasheet (x-dim array) by a few columns (at once in 1 loop) ?
Replies: 40
Views: 1836

Re: (Solved) How to sort datasheet (x-dim array) by a few columns (at once in 1 loop) ?

Hi ! I am looking for a multi-dimensional array sort and found this thread. I would like to make the following modifications to badidea's code. https://www.freebasic.net/forum/viewtopic.php?f=3&t=27993&start=30#p266914 1. Targets a simple multi-dimensional string array. 2. Make the array 1 o...

Go to advanced search