qbasic help plz! urgent (i know i'm in the wrong topic) - Techist - Tech Forum

Go Back   Techist - Tech Forum > Computer Hardware > Monitors, Printers and Peripherals
Click Here to Login
Closed Thread
 
Thread Tools Display Modes
 
Old 05-25-2005, 08:48 PM   #1 (permalink)
Ultra Techie
 
Join Date: Dec 2004
Posts: 530
Default qbasic help plz! urgent (i know i'm in the wrong topic)

i have a thread in the correct place its just that nobody goes there and i need help tonite, not tomorrow

i have an exam, and i'm a little shady on some parts, and i need some help about setting up a program to do the following:

-read a file (sequential or randomize access) I KNOW HOW TO DO THIS PART
-dump info into an array
-edit the array (adding or deleting)
-write to the file opposite of what is read (i.e if seq. is made, write RA) I CAN DO THIS TOO

if somebody could pseudocode a little piece that would be helpful ...i dont care which choice you choose in the parenthesis

thank you
__________________

__________________
Quintox is offline  
Old 05-25-2005, 09:00 PM   #2 (permalink)
Ultra Techie
 
Join Date: Mar 2005
Posts: 635
Default

Tell the teacher it was a waste of your time to complete the project because qbasic is outdated and teaching outdated things doesnt help humanity progress.
__________________

__________________
AMD 64 x2 3800 Venice @ 2.0
Zalman 7700 @ 28c
Gigabyte K8NXP-SLI
2 x Samsung 1gb DDR400 CL2.5
2 x eVga 6800 256mb GT
430mhz Core / 1.1ghz Memory
M-Audio Firewire-410
Sandra Memory Bench:
Sandra Cpu Arithmetic:

Eat your heart out intel.
senseless is offline  
Old 05-25-2005, 09:01 PM   #3 (permalink)
Ultra Techie
 
Join Date: Dec 2004
Posts: 530
Default

ha yes, but our computers are old and so is he...but hes really smart and knows what he's doing (the AP comp sci class uses java)
__________________
Quintox is offline  
Old 05-25-2005, 09:05 PM   #4 (permalink)
Ultra Techie
 
Join Date: Mar 2005
Posts: 635
Default

I'd help you if i could.... the only qbasic i know is print and goto.. Came in handy back when i was 12 and bored in walmart.

Tell him to teach you assembly or something then =p
__________________
AMD 64 x2 3800 Venice @ 2.0
Zalman 7700 @ 28c
Gigabyte K8NXP-SLI
2 x Samsung 1gb DDR400 CL2.5
2 x eVga 6800 256mb GT
430mhz Core / 1.1ghz Memory
M-Audio Firewire-410
Sandra Memory Bench:
Sandra Cpu Arithmetic:

Eat your heart out intel.
senseless is offline  
Old 05-25-2005, 09:24 PM   #5 (permalink)
Monster Techie
 
Chankama's Avatar
 
Join Date: Jan 2005
Location: Canada
Posts: 1,523
Default

Typical h/w forum responses. lol.. Anyways, if u give more details about "what" u don't know, I am sure one of us can help you. I haven't done Qbasic much as it is a crappy language to know. But if it's pseudocode u want, u'll get it
Chankama is offline  
Old 05-25-2005, 09:28 PM   #6 (permalink)
Super Techie
 
Join Date: Nov 2004
Posts: 330
Default

copy your question and post it in the programmers lounge you'll get tons of answers and ace the question. I have a friend who is a wiz at qbasic but he's out and I don't know his cell #
Amd64Boy is offline  
Old 05-25-2005, 09:32 PM   #7 (permalink)
Member (again)
 
macdude425's Avatar
 
Join Date: Jan 2005
Location: Raul's Wild Kingdom...How 'bout that, huh?
Posts: 4,202
Send a message via AIM to macdude425 Send a message via Yahoo to macdude425
Default

Do you mean like:
Code:
DIM array(x) as whatever
...
OPEN FILE FOR INPUT AS #1
...
DO UNTIL EOF(1)
INPUT #1 array(x)
LOOP
CLOSE #1
...
FOR i=1 to UBOUND(array)
array(i)=0
NEXT
__________________



Debian Support Forums!
macdude425 is offline  
Old 05-25-2005, 09:37 PM   #8 (permalink)
Ultra Techie
 
Join Date: Dec 2004
Posts: 530
Default

hmmm mac that looks pretty close to what i need...thanks i'll still look tho
__________________
Quintox is offline  
Old 05-25-2005, 09:45 PM   #9 (permalink)
Member (again)
 
macdude425's Avatar
 
Join Date: Jan 2005
Location: Raul's Wild Kingdom...How 'bout that, huh?
Posts: 4,202
Send a message via AIM to macdude425 Send a message via Yahoo to macdude425
Default

OK
__________________



Debian Support Forums!
macdude425 is offline  
Old 05-25-2005, 10:03 PM   #10 (permalink)
Master Techie
 
Join Date: Apr 2004
Posts: 2,538
Default

Quote:
Originally posted by senseless
Tell the teacher it was a waste of your time to complete the project because qbasic is outdated and teaching outdated things doesnt help humanity progress.
Qbasic is actually a good a place as any for beginning programming, good for novice logic skills development.Qbasic skills apply in just about any scripting language used today, some of which are quite old and still in use.
__________________

horndude is offline  
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off




Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -5. The time now is 11:23 PM.


Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.