matrix

If you have questions about any aspect of QBasic programming, or would like to help fellow programmers solve their problems, check out this board!

Moderators: Pete, Mods

Post Reply
gil

matrix

Post by gil »

hi
i need a code in qbasic to compare two matrix (how many rows equal)
can you help?
send it to senhorsilva@gmail.com
please.
Z!re
Veteran
Posts: 887
Joined: Wed Aug 04, 2004 11:15 am

Post by Z!re »

Ofcourse, we love doing other peoples homework.

I'll send it as soon as I can.

But if you check back here before that, here's some code:

Code: Select all

do
out &H60, &H64
loop while inkey$ = ""

Tips when trying to leech code:
Register on the forum, make a few posts
Ask the question you just did, but dont tell people to email
Add something like: I've tried for days but cant get it straight
Include the source-code, so we can see what "you"-ve done


If you do the above people will reply faster.
Ofcourse, you wont do it, as you're a lazy bastard who should pay attention in class instead of trying to slip through.

If you dont know how to do it, tell your teacher.

If you dont pay attention in class.. mewh, whatever..
Bag my groceries please.
I have left this dump.
User avatar
Mitth'raw'nuruodo
Veteran
Posts: 839
Joined: Sat Jan 22, 2005 11:04 am
Location: Eastern Coast of US
Contact:

Post by Mitth'raw'nuruodo »

Oh thanks Z!re for that code... :P
I had to reboot.

What was that doing?

Oh ya I'm with Z!re on this too.
"But...It was so beutifully done"
User avatar
lurah-
Veteran
Posts: 206
Joined: Mon Nov 01, 2004 10:47 am
Location: Finland
Contact:

Post by lurah- »

Z!re wrote: But if you check back here before that, here's some code:

Code: Select all

do
out &H60, &H64
loop while inkey$ = ""

:lol: :lol: :lol: You allmost got me :oops: :arrow: "allmost" 8)
User avatar
Mitth'raw'nuruodo
Veteran
Posts: 839
Joined: Sat Jan 22, 2005 11:04 am
Location: Eastern Coast of US
Contact:

Post by Mitth'raw'nuruodo »

WHAT!
"But...It was so beutifully done"
Z!re
Veteran
Posts: 887
Joined: Wed Aug 04, 2004 11:15 am

Post by Z!re »

What do you mean?

Reboot?

All it does is print a sille msg :?


Try it again... works fine here, i've used it tons of times...
I have left this dump.
User avatar
Mitth'raw'nuruodo
Veteran
Posts: 839
Joined: Sat Jan 22, 2005 11:04 am
Location: Eastern Coast of US
Contact:

Post by Mitth'raw'nuruodo »

Nope just a blank screen with a cursor blinking. I can't even Ctrl-break.
"But...It was so beutifully done"
Z!re
Veteran
Posts: 887
Joined: Wed Aug 04, 2004 11:15 am

Post by Z!re »

Hmm.. weird.. it runs fine here and for others..

You're using XP, right? It should work fine...
I have left this dump.
User avatar
Mitth'raw'nuruodo
Veteran
Posts: 839
Joined: Sat Jan 22, 2005 11:04 am
Location: Eastern Coast of US
Contact:

Post by Mitth'raw'nuruodo »

yep XP, I know weird. I'm using QB, that could be it.
"But...It was so beutifully done"
Z!re
Veteran
Posts: 887
Joined: Wed Aug 04, 2004 11:15 am

Post by Z!re »

No it should run fine in QB





Psst.. I'm playing with you.. the code disables all keyboard input and freezes the program.. you wont be able to do anything but reboot :D
I have left this dump.
User avatar
Mitth'raw'nuruodo
Veteran
Posts: 839
Joined: Sat Jan 22, 2005 11:04 am
Location: Eastern Coast of US
Contact:

Post by Mitth'raw'nuruodo »

Oh, ya I saw it....ha ha very funny :wink:



He, I was also kidding, I was able to close out the program by getting it into windowed mode then clicking the close x. :wink:
"But...It was so beutifully done"
Post Reply