Search found 135 matches

by cbruce
May 14, 2008 16:19
Forum: General
Topic: Creating Videos of FB Programs?
Replies: 8
Views: 1820

For anyone that is a VMware Workstation user - don't forget the video capture option that is available. It gives a good smooth capture.

Bruce
by cbruce
Nov 25, 2007 21:27
Forum: General
Topic: Reading memory locations using FreeBasic in Windows XP
Replies: 15
Views: 3438

See Russinovitch's article Systems Internals Tips and Trivia - and specifically the NT's "\dev\kmem" section... http://www.microsoft.com/technet/sysinternals/information/TipsAndTrivia.mspx Not useful for the I/O port info (unavailable from a static RAM address in WinXP, W2K3, etc.). But great fun to...
by cbruce
Nov 25, 2007 19:55
Forum: General
Topic: Compile error - FreeBASIC Extended Library
Replies: 5
Views: 1502

Thanks Garvan... that's what I thought after I figured out what was going on. It threw me off, because those were the instructions provided, so I assumed that the folks had used them - my bad - it was still a very thoughtful effort on their part . On the other hand - I think it would be a GREAT ADDI...
by cbruce
Nov 25, 2007 6:12
Forum: General
Topic: Compile error - FreeBASIC Extended Library
Replies: 5
Views: 1502

OK... fbc's -o option cannot be used the way the manual compile steps on the FreeBASIC Extended Library site show. The -o option can only be used with a single source file to give the object file a different name than that of the source file. - It cannot be used when "*.bas" is used as the input spe...
by cbruce
Nov 25, 2007 5:12
Forum: General
Topic: Compile error - FreeBASIC Extended Library
Replies: 5
Views: 1502

Compile error - FreeBASIC Extended Library

This is just stupid weird... - WinXP-SP2 + latest hotfixes - running as ADMIN with all permissions - FB 0.18.1 (8/13/2007) Trying to just do the first manual compile step on the FreeBASIC Extended Library code: ------------------------------ C:\~ 200 - FB Progs\ext_0_1_0\src>fbc -i ../inc -c *.bas -...
by cbruce
Nov 06, 2007 1:32
Forum: General
Topic: DIM myArray AT (syntax request)
Replies: 8
Views: 2048

Thanks a lot folks - that's why I asked - to ascertain if anyone else would find it helpful. notthecheatr - I'm basically doing my own memory management, so RAII doesn't accomplish my goal directly. I Dim 3 or 4 heap strings and null fill the first one to the size I think I will need for the app. Th...
by cbruce
Nov 05, 2007 20:21
Forum: General
Topic: DIM myArray AT (syntax request)
Replies: 8
Views: 2048

Thanks, cheatr(not)... I know about those features... I actually cheat though - I use a string instead of malloc() so that my mem usage gets cleaned up when the FB app exits - I just write code to "allocate" out of the string and overlay those "allocated" spaces with arrays of the requisite type of ...
by cbruce
Nov 03, 2007 3:49
Forum: General
Topic: DIM myArray AT (syntax request)
Replies: 8
Views: 2048

DIM myArray AT (syntax request)

Folks, I was wondering if anyone else thinks that this would be a good idea for a new FB feature... DIM AT overlays an array on top of another variable's allocated space. 'dim a 20 character string... Dim As String s1 * (4 * 5) 'dim a 5 integer array on top of the string space... Dim As Integer aInt...
by cbruce
Oct 12, 2007 22:59
Forum: General
Topic: Stylin's fbvb lib - how can I get a copy?
Replies: 3
Views: 1252

Stylin's fbvb lib - how can I get a copy?

The links are dead in the forum messages. Anyone got a copy they can link to please?

thanks,
cbruce
by cbruce
Oct 11, 2007 3:34
Forum: Tips and Tricks
Topic: Slope Averaging
Replies: 1
Views: 1093

Slope Averaging

I suddenly had a need to do this and I remembered that Kristopher Windsor tried to help me with a routine in http://www.freebasic.net/forum/viewtopic.php?t=9505 His "average line using slope" made sense to me, but it didn't work for a lot of cases - But it did give me a starting point. So I sat down...
by cbruce
Sep 23, 2007 21:35
Forum: General
Topic: Does a set of points define a line? - [Solved]
Replies: 12
Views: 3046

Does a set of points define a line? - [Solved]

Thank you folks so much!!! duke4e's solution is the one that worked for every data set I've gotten so far. Really elegant (simple) once I figured out what Bresenham's algorithm was and how it worked. And the check to see if my data points simply fell in an area was way cool. I still don't think I wo...
by cbruce
Sep 17, 2007 16:59
Forum: General
Topic: Does a set of points define a line? - [Solved]
Replies: 12
Views: 3046

Hello Richard,

So that is what coefficient of determination was! - (I told you I wasn't a geometer)...

I'll try it out. Thank you very much...
by cbruce
Sep 17, 2007 16:58
Forum: General
Topic: Does a set of points define a line? - [Solved]
Replies: 12
Views: 3046

Hello Basic Coder, Using your example, it's more like I can receive one of the following sets of points: A. * * * * * B. * * * * * * C. * * * * * * D. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * I would like to interpret A. and B. as straight lines. Induction would ...
by cbruce
Sep 17, 2007 4:59
Forum: General
Topic: Does a set of points define a line? - [Solved]
Replies: 12
Views: 3046

Thanks Plasma, but after a lot of reading, it does not appear that linear regression is the answer to my question. I may be incorrect, but it seems that linear regression will only best fit a line to a set of points. What I need to know is if my set of points "is" a straight line (or relatively clos...
by cbruce
Sep 16, 2007 20:03
Forum: General
Topic: Does a set of points define a line? - [Solved]
Replies: 12
Views: 3046

Does a set of points define a line? - [Solved]

Does anyone know how to determine if a set of points maps relatively close to a straight line?

(I'm obviously not a math guy)
:)

Thanks

Go to advanced search