dianna
New Member
The Lawn Ranger - Have Grow, Will Mow
Posts: 16
|
Post by dianna on Feb 18, 2007 23:16:16 GMT
I can't find the version of my QBasic software. I have looked everywhere I can think of. I want an as updated version as I can so I can progress to other programs. Any help?
|
|
|
Post by earlofqb on Feb 19, 2007 3:49:28 GMT
Help --> About...
The free (and 100% legal) version is QBasic 1.1. However, there exist several "quasi-legal" programs (quasi-legal in that they are labeled as "abandonware" and MS generally doesn't monitor who downloads them anymore). There are links to them on several other threads, so I won't repeat myself here.
It's up to you which version you download. They all are about the same (unless you plan on getting into some serious programming, at which point most people would tell you you'd probably be better off learning a more modern language anyway, one that has fuller support for the latest databases and graphics cards (as well as more memory allocational ability)), so just go with whatever one you want (or the semi-latest, QuickBasic 7.1, or just wait for Mik's newest version of Basic he's making just because we held a gun to his head (jk)).
|
|
|
Post by Mikrondel on Feb 19, 2007 10:06:11 GMT
(unless you plan on getting into some serious programming, at which point most people would tell you you'd probably be better off learning a more modern language anyway, one that has fuller support for the latest databases and graphics cards (as well as more memory allocational ability)) More modern language. Like C? The language that heaps of the latest software is written in? You know C was born in 1972. And QB in around 1985. Why is C so popular? Not because it's more modern, but because it's so close to real machine language [without being anywhere near as difficult to use] that it can keep up with whatever the latest technology's getting up to. It isn't languages that support databases and graphics cards - it's operating systems. Languages only support exchanging requests with the operating systems (C, of course, can pretty much do this with ANY operating system, not by changing the compiler but by changing the libraries used. You can compile for Windows under Linux using gcc.) Anyone telling you QBasic is useless is wrong. For one thing it is much more powerful than that person thinks - but also, it is (in the opinion of me and many others) easier and more fun to learn with. This means that, even if you can't make an operating system in QB, you can learn a lot of what you need to know to make an operating system in QB. I did. And I can assure you, once you learn one programming language very well, it becomes much easier to learn another. It's easier to learn a new musical instrument if you can already play another one. That's not to say QB is the only, or best, path to learning to program. But it might suit YOU, and if it does, go as far as you want with QB. Almost everything you learn will be useful in many other languages. P.S. For QuickBasic downloads, have a look around www.brisray.com(QuickBasic, as opposed to QBasic, includes a compiler which means it can produce EXE files. QuickBasic 7.1 otherwise known as PDS is the last one produced; it has a few extra features and improvements on QuickBasic 4.5 but nothing all that amazing.)
|
|
|
Post by catherine on Oct 23, 2007 14:47:01 GMT
in qbasic ... how do you find the sum of all integers greater than 100 and less than 200 which are divisible by 7? HELP !!!!!!!
|
|
clippy
Junior Member
Posts: 32
|
Post by clippy on Oct 25, 2007 19:41:19 GMT
You should start a new thread, but use a FOR loop from 101 TO 199 and MOD the numbers by 7:
IF (num% MOD 7) = 0 THEN
Add that number to your total. MOD gives the remainder of an integer division. Naturally if it returns 0, the number is divisible by 7.
Ted
|
|