Search found 17 matches

by Baptiste
Jan 27, 2023 9:32
Forum: Beginners
Topic: array pointeur crashes
Replies: 3
Views: 826

Re: array pointeur crashes

Thanks fxm. I changed the code and it works. dim a(10) as integer dim b(10) as integer dim q as integer dim i as Integer dim j as integer dim i1 as Integer dim j1 as integer for i1 = 0 to 9 for j1 = 0 to 9 a(i1 ) = (i1 + 1) * (j1 + 1) next j1 next i1 for i1 = 0 to 9 for j1 = 0 to 9 b(i1 ) = (i1 + 1)...
by Baptiste
Jan 25, 2023 12:48
Forum: Beginners
Topic: array pointeur crashes
Replies: 3
Views: 826

array pointeur crashes

hello , I start in the use of pointers and to familiarize myself with this technique, I try to carry out a small program of intersection of two arrays. the program crashes could a charitable soul for a very poor programmer like me, help me? dim a(1000) as integer dim b(1000) as integer dim q as inte...
by Baptiste
Feb 05, 2020 17:06
Forum: Libraries & Headers
Topic: FLTK-C-1.3.3 for FreeBASIC
Replies: 433
Views: 198357

Re: FLTK-C-1.3.3 for FreeBASIC

thank you D.J. Peters,

I'll look at it
by Baptiste
Feb 04, 2020 12:44
Forum: Libraries & Headers
Topic: FLTK-C-1.3.3 for FreeBASIC
Replies: 433
Views: 198357

Re: FLTK-C-1.3.3 for FreeBASIC

Hello , I again thank D.J Peters for this beautiful tool that is FLTK. is it possible with "FLTK" to create a listview with sorting by clicking on columns and selections of the elements of a line and color highlights. I looked in the examples delivered with the application but I did not fi...
by Baptiste
Feb 02, 2020 13:20
Forum: Projects
Topic: WinFBE Editor and FreeBASIC Compiler (All-in-One Package) (V3.1.0 June 4, 2023)
Replies: 981
Views: 347392

Re: WinFBE Editor and FreeBASIC Compiler (All-in-One Package) (Updated January 14, 2020)

Hello,
I discover this editor
Is there a tutorial to use the graphical interface of Winfbe
Thank you
by Baptiste
Dec 23, 2019 18:28
Forum: General
Topic: iteration, recursion
Replies: 2
Views: 747

Re: iteration, recursion

Thank you grindstone,

That's exactly what I wanted .
I tried with different levels (4, 5 and 6) and it works very well

thanks again
by Baptiste
Dec 23, 2019 14:49
Forum: General
Topic: iteration, recursion
Replies: 2
Views: 747

iteration, recursion

Hello , To list the combinations of 3 elements in a set of nbe elements, I use the small program. it works well, but if i want to do the same with combinations of 4 elements, i have to to write another sequence with 4 loops. would someone have an idea to transform this iterative method into recursiv...
by Baptiste
Jul 01, 2019 18:22
Forum: Libraries & Headers
Topic: FLTK-C-1.3.3 for FreeBASIC
Replies: 433
Views: 198357

Re: FLTK C for FreeBASIC Jan 09, 2017

Thank you Joshy for your patience
My little example program works.
as we say at home "I understand quickly, but we must explain myself a long time"
by Baptiste
Jul 01, 2019 12:57
Forum: Libraries & Headers
Topic: FLTK-C-1.3.3 for FreeBASIC
Replies: 433
Views: 198357

Re: FLTK C for FreeBASIC Jan 09, 2017

Excuse me, Knatterton, I did not see your message
by Baptiste
Jul 01, 2019 12:55
Forum: Libraries & Headers
Topic: FLTK-C-1.3.3 for FreeBASIC
Replies: 433
Views: 198357

Re: FLTK C for FreeBASIC Jan 09, 2017

I thought I understood, but I realize that I do not know how to get the value of the counter in a variable outside the procedure "Sub counterCB". In addition to this lamentable ignorance, I have another question. I would like to have another counter whose minimum value would be a variable ...
by Baptiste
Jun 30, 2019 17:38
Forum: Libraries & Headers
Topic: FLTK-C-1.3.3 for FreeBASIC
Replies: 433
Views: 198357

Re: FLTK C for FreeBASIC Jan 09, 2017

Thank you Joshi,
it's very nice. and faster
With that, I think I'll be able to move forward
by Baptiste
Jun 30, 2019 16:07
Forum: Libraries & Headers
Topic: FLTK-C-1.3.3 for FreeBASIC
Replies: 433
Views: 198357

Re: FLTK C for FreeBASIC Jan 09, 2017

I take advantage of your kindness ...

How to put mini / max stops to cnt1

Set its starting value to 2, forbid going down below 2 and forbid going over 18

thank you in advance
by Baptiste
Jun 30, 2019 15:07
Forum: Libraries & Headers
Topic: FLTK-C-1.3.3 for FreeBASIC
Replies: 433
Views: 198357

Re: FLTK C for FreeBASIC Jan 09, 2017

thank you all.
I tried the nimdays solution and it works perfectly.
Thanks to Joshy for this very useful library.
by Baptiste
Jun 28, 2019 18:40
Forum: Beginners
Topic: Console off
Replies: 17
Views: 11663

Re: Console off

I do not know why, but actually the execution of calculations is a little faster. the program displays intermediate calculation results on the console. I think that removing the console should eliminate these displays and thus save some time. I will do other tests with longer calculations to better ...
by Baptiste
Jun 28, 2019 17:42
Forum: Beginners
Topic: Console off
Replies: 17
Views: 11663

Re: Console off

I tried the first solution using the compiler options and it works perfectly.
better, the calculations made by the program (it is a calculation program) are carried out with a saving of time of 10%.

I will try the 2nd solution a little later in the evening.

Thank you very much to all .