Search found 249 matches
@frisian @dodicat Your explanations cleared the fog. Thanks. Glad to hear that you got it working. Both ret_val = Gmp_snprintf(str_, 11, "4:Pi= %.*Ff \n ", 20, f_op1 ) and ret_val = Gmp_asprintf(@str_,"5:Pi= %.*Ff ", 20, f_op1 ) printed nothing. That's because they have no print...
dodicat wrote:You could rename it to gmp6.bi if you already have a gmp.bi.
If you rename it to gmp6.bi make sure that you change #include "gmp" into #include "gmp6" or FreeBasic will use the old header file.
Compiler output: C:\fb_GMP\test_gmp.o:fake:(.text+0x9da): undefined reference to `__gmpz_powm_sec' C:\fb_GMP\test_gmp.o:fake:(.text+0xa31): undefined reference to `__gmpz_rootrem' C:\fb_GMP\test_gmp.o:fake:(.text+0xbb1): undefined reference to `__gmpz_2fac_ui' C:\fb_GMP\test_gmp.o:fake:(.text+0xbc2...
dodicat I was somewhat surprised by your error message, had I put the wrong program in the 7z file. I even downloaded my own file to check it, it had the correct bas file. I even downloaded FBide to see if I could get the same error message as you.I even put the gmp.bi and libgmp.a for the file into...
Converted my first .h file into a .bi file with your FBfrog (1.5), worked very well. The only thing that wend wrong was it missed a "#endif" at the end of the .bi file. The .h file had at the end "#endif /* __GMP_H__ */" perhaps the comment messed things up, I removed the comment...
I have made a new header file for GMP, version 6.0.0a, which has a few new functions, instead of adding to the old header file. I used FBfrog 1.5 to convert the .h file to a .bi file, the .h file has some inline code that can't be translated so I removed that part. The new header file that was produ...
- Nov 01, 2014 22:19
- Forum: Tips and Tricks
- Topic: Syntax highligher for Notepad++ (FB0.91)
- Replies: 14
- Views: 7710
- Nov 01, 2014 21:55
- Forum: General
- Topic: Determine if Date/time falls within US Daylight Saving Time?
- Replies: 22
- Views: 2057
Ok my program does not check of a date/time falls in winter or summer time. It only give a dates for the start and ending of daylight saving . #Lang"qb" ' The base for the function weekday is take from ' 57 practical programs & games in basic (Radio Shack 1978) Function Weekday(D As In...
bluatigro In 3d-line-world the sub dodeca() contains two identical lines lijn x - f * d, y, z - 1 / f * d, x + f * d, y, z - 1 / f * d, dik <-- 1 lijn x + f * d, y, z + 1 / f * d, x - f * d, y, z + 1 / f * d, dik <-- 2 lijn x + 1 / f * d, y + f * d, z, x + d, y + d, z - d, dik lijn x - 1 / f * d, y ...
- Oct 07, 2014 21:14
- Forum: Community Discussion
- Topic: Article comparing FreeBASIC to cyBOSS
- Replies: 24
- Views: 4340
frisian, I don't know where that text came from, but all it's saying is that the P-code generated by a programmer's source code is considered to be a derivative work of that source code. It's roughly analogous to saying the asm emitted by fbc from a given source code is a derivative of the source c...
- Oct 07, 2014 16:22
- Forum: Projects
- Topic: windows Multi-language Editor ( English;French;Spanish)
- Replies: 71
- Views: 21527
@marpon New version looks good, I have found some small things. http://users.freebasic-portal.de/frisian/pictures/csed3.png When I select text it displays the total of selected characters (looks like it can't see the rest), but the display is cut off by means of a separator, while the rest of the li...
counting_pine wrote:Actually, now I think about it, it'd probably be enough just to put Option Static before the Static Shared line, and Option Dynamic again after it.
That works, thanks.