Search found 80 matches

Go to advanced search

by matt2jones
Thu Apr 13, 2006 6:41 am
Forum: General Discussion
Topic: QB Express #20 Deadline
Replies: 7
Views: 4242

Whaaa! I thought the mag was dead, I come back later, there's a new issue, and the deadline for the next is in a few days... Shit!

I dunno if I'll be able to throw anything together cause my exams start next week, but if I can I'll send it to ya

wish I checked back here sooner...

matt
by matt2jones
Thu Mar 09, 2006 2:31 pm
Forum: General Discussion
Topic: idea for random number generator...
Replies: 5
Views: 3495

So the random sequence is the digits of the root? Ok. that's good, but as you need more and more digits it will become harder and harder to compute them. Might get kinda slow... Naw, there's an algorithm for getting it digit by digit I saw somewhere, like long division, so you'd just need to store ...
by matt2jones
Wed Mar 08, 2006 8:24 am
Forum: General Discussion
Topic: idea for random number generator...
Replies: 5
Views: 3495

idea for random number generator...

Take any number that isn't a perfect square (this will be the seed), Calculate the first digit of it's square root in the base where 0 is the minimum and the base-1 is the maximum number the random number generator can return, and return it as the generated random number. The next time it's called c...
by matt2jones
Mon Jan 23, 2006 4:58 am
Forum: News and Announcements
Topic: Fastest (pure QB) PUT routine?
Replies: 16
Views: 12700

Noone care.. Pure QB is stupid, it's slow, and in some way trying to hold it as something special is absurd.. I enjoy pure QB programs. There great fun in the challenge department. I admit I'm unlikly to start a new project from scratch in QB anytime soon, but I do have a few I'm still finishing of...
by matt2jones
Sun Jan 15, 2006 8:18 am
Forum: General Discussion
Topic: Programmers
Replies: 17
Views: 10144

Started programming ANSI C via the command line at 9 btw...

matt
by matt2jones
Sat Jan 14, 2006 10:58 am
Forum: General Discussion
Topic: Hunting for old game "Charter Magica"
Replies: 3
Views: 2749

Hope you drop by again soon!

matt
by matt2jones
Wed Jan 11, 2006 1:26 pm
Forum: General Discussion
Topic: Programmers
Replies: 17
Views: 10144

I do not, but intend to, and can't really see myself working as anything else. I'm in college at the moment studying ~programming, and my weekly income comes from the programming competitions held here, with cash prizes for the winners (me and my friend have been coding since... me, 12 and him, 9).....
by matt2jones
Mon Jan 09, 2006 6:41 am
Forum: General Discussion
Topic: QB Express #17 Needs Submissions!
Replies: 31
Views: 17717

Man, that tutorial was my BIBLE for a few years...
by matt2jones
Sun Dec 04, 2005 5:51 am
Forum: General Discussion
Topic: Some help with rotations.
Replies: 6
Views: 3848

Don't try to use rotations using matrices straight up. Use the trig formulae, then rewrite it interms of a transformation matrix... or whatever the fork it's called. Your confusing yourself. Rotations are very easy to do when you just use the formulae... Take a look at the HAW (3D the Half Assed Way...
by matt2jones
Sat Dec 03, 2005 9:01 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Absolute Assembly
Replies: 4
Views: 2338

I feel your pain, I've never gotten it to work either.

just write it in a .txt with

Code: Select all

a


[code, followed by chr$(13)]

n  name.com
rcx [byte length]
w
q


And load the file into a string, then proceeding as normal.

matt
by matt2jones
Sat Dec 03, 2005 8:49 am
Forum: General Discussion
Topic: Man, good choice for programer of the month!
Replies: 2
Views: 2357

Yeah, I remember him from when I started... I think he fell off the radar for a while though...
by matt2jones
Sat Dec 03, 2005 8:45 am
Forum: General Discussion
Topic: Some help with rotations.
Replies: 6
Views: 3848

Right, its a simple fix (if I understand you). You say it's "stuck in first person mode", what I think you mean by this is when you try and rotate the ship it moves off one side of the screen, goes behind you, and comes out the other side. If that's the case, visualise this: *--------* [Camera point...
by matt2jones
Thu Nov 24, 2005 5:45 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Does Anyone Else Think It's Time
Replies: 7
Views: 3300

moneo, that's exactly what I was getting at. I don't mean a "READ THESE RULES AND GUIDLINES BEFORE POSTING" thread... I mean a more Here's how to help us help you... I just means that (if they abide by it) we won't have to go through the same old explanation of why we won't do their homeowork for th...
by matt2jones
Wed Nov 23, 2005 8:32 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Does Anyone Else Think It's Time
Replies: 7
Views: 3300

Does Anyone Else Think It's Time

A post was pinned to this forum outlining how to ask questions about writing specific programs (like your homework or similar specific routines (say matrix multiplication or font routines))? something along the lines of 1. Explain programs objective 2. Provide your coding attempt 3. Explain your pro...
by matt2jones
Wed Nov 09, 2005 7:47 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Random Numbers
Replies: 20
Views: 11546

Riiiight.... The chaotic function I was talking about was somewhere in the realm of F(x) = Asinx + Bsinx Where A/B is an irrational number. I'm not sure if that can even be replicated on a computer (cause of the irrational number bit), but I have heard (from a mathematician, not a programmer) that t...
by matt2jones
Tue Nov 08, 2005 11:00 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Resetting Array Data?
Replies: 5
Views: 3347

Yup...

Or if your using a TYPE, it might be faster to poke through the whole array space in a loop... less typing...

matt
by matt2jones
Tue Nov 08, 2005 10:58 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Random Numbers
Replies: 20
Views: 11546

:shock: Of course it can return a number more then once! If you roll a dice 27 you get each number more then once, that's still a random number generator. What I ment was there is no repitition of the pattern, eg. int(rnd*2) -> 1 0 1 0 1 0 1 0 Where there is a pattern in the random numbers. matt
by matt2jones
Tue Nov 08, 2005 10:50 am
Forum: QBASIC and QB64 Questions & Answers
Topic: sleeping
Replies: 19
Views: 8497

See the thread on TIMER DELAY CONSIDERATIONS for all sides to this argument :D

matt
by matt2jones
Tue Nov 08, 2005 8:05 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Random Numbers
Replies: 20
Views: 11546

All RND generators wrap around at some point, often far sooner than you might think..


The Chaotic Functions I was talking about don't, that's why I brought them up... Non-periodic or something...

matt
by matt2jones
Tue Nov 08, 2005 4:09 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Out of Stack Space
Replies: 10
Views: 4969

You'll come across an out of stack error if you never return from subs or gosubs... Beginners tend to write code where this happens (just because they're starting). Eg: 'My game!!!! Menue 'Start here '=-=-=-=-=-=-=- SUB menue 'blah PRINT "would you like to play?":input A$:if A$ = "n&q...

Go to advanced search