Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Computer Forums > Programmers Lounge > Programming Discussions » Qbasic - is it anything more than an introductory language?
Closed Thread
Old 12-09-2008, 11:49 AM   #1 (permalink)
 
Newb Techie

Join Date: Dec 2008

Posts: 27

Invidious is on a distinguished road

Default Qbasic - is it anything more than an introductory language?

In the event you don't feel like reading all of this, the basic question is, what value does Qbasic have? No one has told me its value or what is special about it and I can't figure it out myself. Is it merely an introductory language?
~~~~
I'm taking a Qbasic course, well it is really an introductions to computer programming course but they use Qbasic as it was intended, to get people introduced.

I just can't find modern uses for Qbasic because anything that Qbasic can do has either A. been done, or is B. capable of being done on another language that can do so much more than Qbasic.

So what all can qbasic do? So far (remember introductory course, and they don't give us books for it, they just teach us), it includes only printing statements, handling variables such as numbers and strings, it hasn't even mentioned the concept of Boolean which I thought was like a big thing but I guess it isn't, though right now I'm doing IF/THEN/ElSE/ELSEIF, and they have introduced the concept of -1 which is an error trap. Also the ELSE I guess could be considered the same as false, since it is what happens if the IF statement isn't true.(we've also tackled loops very very very briefly so far.)

So anyway, what could I do in Qbasic that is worth anything, even if just for fun besides making it print out text, or using it to keep track of statistics for like foot ball and etc.?

One thing I've always wanted to do was create one of those text games where it is basically like a resident evil game except you never shoot zombies and instead of walking to an object and pressing the corresponding button you have to type "look under the rug" or something. I think Qbasic could handle that, though I'm not sure I guess I would have to learn how to handle strings that will create response with line input, but so far all I've learned about strings is how to print them or assign text to string variables.

Last edited by Invidious; 12-09-2008 at 12:00 PM.
Invidious is offline  
Old 12-09-2008, 12:39 PM   #2 (permalink)
aaronkupen's Avatar
 
Monster Techie

Join Date: Sep 2005

Location: Boston, MA

Posts: 1,791

aaronkupen is on a distinguished road

Send a message via AIM to aaronkupen Send a message via Yahoo to aaronkupen Send a message via Skype™ to aaronkupen
Default Re: Qbasic - is it anything more than an introductory language?

It's a language primarily used for introducing programming. I don't think it has any practical use in the real world.
__________________
Lenovo Thinkpad T60
Intel Core 2 Duo T7200 @ 2.00 Ghz
2 GB DDR-2 memory
ATI Mobility Radeon x1400
60 GB 7200 rpm Hard Drive
Windows Vista Business SP1 32 Bit
aaronkupen is offline  
Old 12-09-2008, 12:45 PM   #3 (permalink)
 
Newb Techie

Join Date: Dec 2008

Posts: 27

Invidious is on a distinguished road

Default Re: Qbasic - is it anything more than an introductory language?

Darn it.

Lol. Feels like such a waste, learning a language that isn't of use.

But oh well, after this course is over in like...four weeks I can focus on learning C++ and Java on my own. An old friend of mine who used to work as a programmer for I think the power plant near where I grew up gave me a Java Book, "Java Programming for the absolute beginner" by: Joseph P. Russel about one or two years ago, I picked it up went through about 20 or 30 pages, changed some of the system settings and everything, etc, but it felt like a hassle because the way java worked for it was I would write everything in a notepad, and then save it as the appropriate file type. Didn't cause too much trouble though. As for C++ I used that one site for a little while that has free tuts and links to compilers, but don't have much time to learn it right now.
Invidious is offline  
Old 12-09-2008, 02:48 PM   #4 (permalink)
office politics's Avatar
 
It's all just 1s and 0s

Join Date: Jan 2004

Location: in the lab

Posts: 4,410

office politics will become famous soon enough

Default Re: Qbasic - is it anything more than an introductory language?

practice makes perfect. once you know how to make a computer do something, you should be able to write programs in several languages to complete the task; pending rules restrictions.


Gorillas (computer game - Wikipedia, the free encyclopedia) - download included

Quote:
Gorillas is a video game first distributed with MS-DOS 5. It is a turn-based artillery game[1]. The game consists of two gorillas throwing explosive bananas at each other above a city skyline. The players can adjust the angle and velocity of each throw, as well as the gravitational pull of the planet. Written in QBasic, it is one of the programs included as a demonstration of that programming language. The others are Nibbles (another game), Money (a very simple financial calculator), and REMLINE (a program to remove line numbers from old BASIC programs).

office politics is offline  
Old 12-09-2008, 03:34 PM   #5 (permalink)
 
Newb Techie

Join Date: Dec 2008

Posts: 27

Invidious is on a distinguished road

Default Re: Qbasic - is it anything more than an introductory language?

Quote:
Originally Posted by office politics View Post
practice makes perfect. once you know how to make a computer do something, you should be able to write programs in several languages to complete the task; pending rules restrictions.


Gorillas (computer game - Wikipedia, the free encyclopedia) - download included
Cool, also, your link is messed up. You left off the ).

Gorillas (computer game) - Wikipedia, the free encyclopedia That one should work.

But still cool none the less -D
Invidious is offline  
Old 12-09-2008, 06:28 PM   #6 (permalink)
 

Join Date: Jul 2005

Location: England

Posts: 2,157

kmote has a spectacular aura aboutkmote has a spectacular aura about

Default Re: Qbasic - is it anything more than an introductory language?

Enjoy qbasic I fondly but very vaguely remember doing this on my win 3.11 laptop.
__________________
MSI P43 Neo|Enermax Pro82+ 425W|E5200|silent 8500GT|250GB Samsung spinpoint F1|Samsung SATA DVD RW|4GB Corsair|Antec SOLO|openSUSE11


There are in order of increasing severity: lies, darn lies, statistics, and computer benchmarks. - diskinfo man page
kmote is offline  
Old 12-09-2008, 08:02 PM   #7 (permalink)
Baez's Avatar
 

Join Date: Sep 2005

Location: Toronto, Canada

Posts: 5,465

Baez is a glorious beacon of lightBaez is a glorious beacon of lightBaez is a glorious beacon of lightBaez is a glorious beacon of lightBaez is a glorious beacon of light

Default Re: Qbasic - is it anything more than an introductory language?

You would be better off to start learning with C and move onto C++ once you feel comfortable with the syntax.
__________________

Baez is online now  
Old 12-09-2008, 08:17 PM   #8 (permalink)
 

Join Date: Jul 2005

Location: England

Posts: 2,157

kmote has a spectacular aura aboutkmote has a spectacular aura about

Default Re: Qbasic - is it anything more than an introductory language?

Since when was c a beginners language? My vote goes to either pascal or qbasic obviously in th OPs situation sticking with qbasic would be best since he is already taking a class in it.
__________________
MSI P43 Neo|Enermax Pro82+ 425W|E5200|silent 8500GT|250GB Samsung spinpoint F1|Samsung SATA DVD RW|4GB Corsair|Antec SOLO|openSUSE11


There are in order of increasing severity: lies, darn lies, statistics, and computer benchmarks. - diskinfo man page
kmote is offline  
Old 12-09-2008, 08:21 PM   #9 (permalink)
Baez's Avatar
 

Join Date: Sep 2005

Location: Toronto, Canada

Posts: 5,465

Baez is a glorious beacon of lightBaez is a glorious beacon of lightBaez is a glorious beacon of lightBaez is a glorious beacon of lightBaez is a glorious beacon of light

Default Re: Qbasic - is it anything more than an introductory language?

He said he wanted to either learn C++ or Java. So I told him to start with C. Read the previous posts first before commenting.
__________________

Baez is online now  
Old 12-09-2008, 10:24 PM   #10 (permalink)
aaronkupen's Avatar
 
Monster Techie

Join Date: Sep 2005

Location: Boston, MA

Posts: 1,791

aaronkupen is on a distinguished road

Send a message via AIM to aaronkupen Send a message via Yahoo to aaronkupen Send a message via Skype™ to aaronkupen
Default Re: Qbasic - is it anything more than an introductory language?

Quote:
Originally Posted by Baez View Post
He said he wanted to either learn C++ or Java. So I told him to start with C. Read the previous posts first before commenting.
Learning C isn't necessarily a great way to prepare for learning C++. If he wants to learn C++ or Java, I suggest that he starts with either C++ or Java. If he is dedicated and actually is willing to put effort into learning, it will be more than fine.
__________________
Lenovo Thinkpad T60
Intel Core 2 Duo T7200 @ 2.00 Ghz
2 GB DDR-2 memory
ATI Mobility Radeon x1400
60 GB 7200 rpm Hard Drive
Windows Vista Business SP1 32 Bit
aaronkupen 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 On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Vista Language Packs NosBoost300 Windows Operating Systems and Software 8 09-24-2008 10:14 AM
Language Bug Issue in Control Panel and Install Menus RomanGreen23 Windows Operating Systems and Software 1 08-30-2008 08:43 PM
Best Language/ web browser rehaku Programming Discussions 2 06-08-2008 04:42 PM
How to Change Language in Windows Operating System freezy Windows Operating Systems and Software 1 11-21-2007 08:59 PM
Why do we need language specific Operating System? mooni_mirza Windows Operating Systems and Software 4 10-17-2007 05:14 PM