Thank you, paul doe, and best regards! Hi BasicCoder2! Yes, the math is a little bit complex. If you search for informations on the Runge-Kutta method, you will mostly find explanations how to solve first-oder differential equations, not systems. For systems of first-order differential equations, I ...
Long time ago, a code for simulation of the n-body system has been posted in this forum: https://www.freebasic.net/forum/viewtopic.php?t=10646 . On Youtube, some videos show simulations of a special case of the n-body problem e.g. https://www.youtube.com/watch?v=D2YhKaANbWE or https://www.youtube.co...
I would not say that FreeBasic is actually dead, but the forum has calmed down. I think the reason may be that a lot of work has been done up to now so that FreeBasic has reached a rather stable state, including the support of many external libraries. Many forum members presented their own projects ...
Very nice! Some time ago I wrote nearly the same animation, only for one pendulum, solving the differential equation of motion by using the Runge-Kutta method, but your simple solution has a very clear code and is easy to understand (as well as your simulation of gravitation in an other post recentl...
@PaulSquires, I understand what you mean. Perhaps it would be helpful if you could add to WinFBE a little tutorial with some simple examples, e.g. how to create a simple GUI with textboxes and buttons and their event handling with your form designer, as it has been done with FBEdit, e.g. a simple ca...
hm... very mini! Is this just a short test? The list of "special words" is rather short, and the program is finished after one word has ben translated. I think the program should run in a loop until the user terminates it.
Hi Frank,
looks nice, but could you add a dictionary file as example so that it is possible to play around wth your code? Why do you include windows.bi? Your program seems to be a console application.
Hi Ray, thank you very much for your interest. "WinLib" has been downloaded more than 160 times now, but meanwhile I prefer to write small GUI programs directly by using pure Windows API. I use some templates for creating a window and all basic controls which can be modified easily. Especi...
Hi RNBW, a small mistake: Button_Ok is not created in the window, so message WM_LBUTTONDOWN will not work as expected. :o This is the code modified for WinLib.bi (the modified version of WinGUI.bi): ' ============================================= ' NUMERIC INPUT IN A TEXTBOX ' File Name: NumericEntr...
No, not really. You might try to use the Windows API, I found this code: #Include Once "windows.bi" Dim As Integer style Dim As HWND hWindow Dim As RECT r ScreenRes 400,300,32 hWindow = GetForegroundWindow() style = GetWindowLong(hWindow, GWL_STYLE) GetWindowRect(hWindow, @r) SetWindowLong...