Search found 2186 matches

by srvaldez
Jan 28, 2020 13:31
Forum: Windows
Topic: Windows graphics tutorial
Replies: 73
Views: 2152

Re: Windows graphics tutorial

I found that the version of gcc makes a difference in the timing, gcc-5.2 produces faster times, was using gcc-6.4 the times are after letting it run for about 30 second to let the timings stabalize 32-bit gcc-5.2 -gen gcc -O 3 dafhi's 157 fps | paul doe's 218 fps 32-bit gcc-5.2 -gen gcc -O fast daf...
by srvaldez
Jan 28, 2020 10:34
Forum: Windows
Topic: Windows graphics tutorial
Replies: 73
Views: 2152

Re: Windows graphics tutorial

@dafhi
your version gives
32-bit -gen gcc -O 3 165 fps
64-bit -gen gcc -O 3 22 fps
fbc64_gas64.exe 95 fps viewtopic.php?f=8&t=27478
by srvaldez
Jan 23, 2020 18:53
Forum: General
Topic: gmp 6.2.0 and mpfr 4.0.2
Replies: 22
Views: 3422

Re: gmp 6.1.2 and mpfr 4.0.2

updated on first post
by srvaldez
Jan 17, 2020 16:27
Forum: Community Discussion
Topic: Random Number Generator
Replies: 2
Views: 294

Random Number Generator

perhaps of interest to some members https://www.codeproject.com/Articles/10 ... for-Applic
by srvaldez
Jan 15, 2020 22:35
Forum: Projects
Topic: prime numbers searcher in QB
Replies: 9
Views: 3076

Re: prime numbers searcher in QB

after changing the cpp _int64 to __int64 and using -O2 the runtime is 7 seconds
changing the FB code from long to longint and compiling with FBx64 -gen gcc -O 2 the runtime is 4.5 seconds
by srvaldez
Jan 12, 2020 17:11
Forum: Tips and Tricks
Topic: Some Animated Cloud Action, Improved Again!
Replies: 31
Views: 10431

Re: Some Animated Cloud Action, Improved Again!

Hi all
I don't see any GOTO in the code, am I missing something?
by srvaldez
Jan 10, 2020 11:23
Forum: General
Topic: Squares
Replies: 7626
Views: 456723

Re: Squares

thank you dodicat :-)
by srvaldez
Jan 10, 2020 0:09
Forum: General
Topic: Squares
Replies: 7626
Views: 456723

Re: Squares

Hi dodicat
shouldn't be szz="S1"+Ltrim(zz,"S2") ?
is your editor posted somewhere on this forum ?
by srvaldez
Jan 09, 2020 14:23
Forum: General
Topic: Squares
Replies: 7626
Views: 456723

Re: Squares

Hi dodicat
very nice, just two questions: how did you construct the zz string?
I mean, did you use some kind of utility or did you do it by hand?
why the statement szz="S1"+Rtrim(zz,"S2") ?
by srvaldez
Jan 07, 2020 11:05
Forum: Projects
Topic: Gas64 (no more use of gcc, only gas) :-)
Replies: 110
Views: 20641

Re: Gas64 (no more use of gcc, only gas) :-)

thank you SARG :-)
by srvaldez
Jan 05, 2020 17:56
Forum: Libraries
Topic: Library Pointers & OS Crashes
Replies: 11
Views: 477

Re: Library Pointers & OS Crashes

FB comes in 32-bit and 64-bit versions
I tried to cover all possible issues but I can't see what's going on your PC's, it works fine here on a Windows 7 x64 VM
by srvaldez
Jan 05, 2020 10:51
Forum: Libraries
Topic: Library Pointers & OS Crashes
Replies: 11
Views: 477

Re: Library Pointers & OS Crashes

@storm5510 may I suggest that you try to compile the program from the command line? the reason is I don't know if your IDE is reporting warnings or errors, FB doesn't necessarily have to be on the PATH, just give the full path of fbc.exe, for example from the command prompt cd to where the program s...
by srvaldez
Jan 05, 2020 10:19
Forum: Libraries
Topic: Library Pointers & OS Crashes
Replies: 11
Views: 477

Re: Library Pointers & OS Crashes

@storm5510 I think that we may have a misunderstanding of terms, when you say that the program crashes at mpz_init(@p) does that mean that the program successfully compiled (without your commenting-out) and then crashed when you run the executable? or do you get errors when trying to compile the pro...
by srvaldez
Jan 05, 2020 1:04
Forum: Libraries
Topic: Library Pointers & OS Crashes
Replies: 11
Views: 477

Re: Library Pointers & OS Crashes

@storm5510
I suspect that your PC has bad RAM, press Windows Key + R, type “mdsched.exe” and test the RAM
by srvaldez
Jan 03, 2020 21:01
Forum: Beginners
Topic: Beginner problem
Replies: 2
Views: 131

Re: Beginner problem

it's bad practice to declare the parameters in a function or sub without byval or byref, in this case, it appears that FreeBasic interprets the parameters as arrays

Code: Select all

SUB prova(byval IX AS INTEGER , byval IY AS INTEGER)

Go to advanced search