Computer Hope

Software => Computer programming => Topic started by: Floppyman on July 23, 2012, 08:21:55 AM

Title: Which language to choose between QBASIC or C++
Post by: Floppyman on July 23, 2012, 08:21:55 AM
Hello i want to learn some computer language just for the sake of programming and my preferred choice starting is BASIC and then C++,  so if someone from here would like to answer my question , which do i start with. Can you please give me some suggestion:
                 i already have QBASIC in Virtual environment, i basically want to learn because i want to do atumated task or repetetive task easily by learning this language.

Can you also offer some ebooks as a starter : just for a digging slowly from the start.
Title: Re: Which language to choose between QBASIC or C++
Post by: TheWaffle on July 23, 2012, 08:26:12 AM
Curious , what virtual enviorment are you using?
Title: Re: Which language to choose between QBASIC or C++
Post by: Floppyman on July 23, 2012, 08:30:54 AM
What i meant was i already have QBASIC in Virtual Box, ready to run any time , as for C++ i already have a CCompiler too. Just don't know what to do with them.
Title: Re: Which language to choose between QBASIC or C++
Post by: TheWaffle on July 23, 2012, 08:34:20 AM
which CCompiler?
Title: Re: Which language to choose between QBASIC or C++
Post by: Salmon Trout on July 23, 2012, 09:02:30 AM
For an introduction to BASIC I would rather use FreeBasic, which is more or less compatible with QBASIC syntax.


Title: Re: Which language to choose between QBASIC or C++
Post by: TheWaffle on July 23, 2012, 10:14:38 AM
what about smallbasic?
Title: Re: Which language to choose between QBASIC or C++
Post by: Salmon Trout on July 23, 2012, 10:37:42 AM
what about smallbasic?

What about it?
Title: Re: Which language to choose between QBASIC or C++
Post by: TheWaffle on July 23, 2012, 11:33:41 AM
Well since Floppyman wants to learn a version of basic isnt best to lea
rn a simple one such as smallbasic which comes with its own book for free?
Title: Re: Which language to choose between QBASIC or C++
Post by: BC_Programmer on July 23, 2012, 12:56:26 PM
Well since Floppyman wants to learn a version of basic isnt best to lea
rn a simple one such as smallbasic which comes with its own book for free?
Smallbasic doesn't come with a book. You download it, then use it.

FreeBASIC has plenty of online documentation, and is compatible with QBASIC/QuickBASIC.

using QBASIC or QuickBASIC itself, at this stage, is rather silly, unless you specifically need to run on an older DOS-based machine.
Title: Re: Which language to choose between QBASIC or C++
Post by: Geek-9pm on July 23, 2012, 01:12:47 PM
...

using QBASIC or QuickBASIC itself, at this stage, is rather silly, unless you specifically need to run on an older DOS-based machine.
I have used QBASIC for a number of mundane takes using XP and it works just fine. Withing its limits.

EDIT:
But I will not recommend it as a start language. So does that mean I will recommend C++. Hard to do that. For a novice it should be C# instead.
Free tools to create .NET applications on Windows using Visual C# (http://www.microsoft.com/visualstudio/en-us/products/2010-editions/visual-csharp-express)
Title: Re: Which language to choose between QBASIC or C++
Post by: Salmon Trout on July 23, 2012, 01:19:37 PM
Doesn't the QBasic IDE have a CPU utilisation problem with XP, well Win32 generally? To do with a wait-for-keypress loop?
Title: Re: Which language to choose between QBASIC or C++
Post by: TheWaffle on July 23, 2012, 01:52:24 PM
Does it matter what compiler?
Borland c# builder
Mono
visual c#
Title: Re: Which language to choose between QBASIC or C++
Post by: Allan on July 23, 2012, 02:02:14 PM
Does it matter what compiler?
Borland c# builder
Mono
visual c#

If you have questions you need answered please start your own thread rather than getting this one off topic. Thank you.
Title: Re: Which language to choose between QBASIC or C++
Post by: Floppyman on July 23, 2012, 10:27:02 PM
If you have questions you need answered please start your own thread rather than getting this one off topic. Thank you.
Waffle was beginning to sound like a strange and curious kid, but Allan just had to put it up, lol
I already have C# Express edition, although it would still be like a monkey not knowing what to do with the coconut .....thing.

Can someone give the name of some good C# books just to give a proper direction for my head, any simple ebook would , showcasing just the few
fundamental's of C#.

Title: Re: Which language to choose between QBASIC or C++
Post by: TheWaffle on July 24, 2012, 07:40:57 AM
Have you taken the tutorials provided by microsoft?
Title: Re: Which language to choose between QBASIC or C++
Post by: DaveLembke on July 25, 2012, 01:31:49 PM
I learned intro to C# off one of those MS Books and its a great book with examples and at the back of the book it came with a DVD containing all the Express packages C++, C#, Visual Basic, etc. They must have made 1 DVD for every Express Programming book they made vs making 3 or more different discs. My favorite project in the MS C# Express book was making your own custom browser, spinoff of IE. I found C# very easy given that I came from a background in Basic, C++, Perl, and a few other languages and scripting languages. Was amazed at how simple it is to use and it automatically populates sections of code when adding features to your programs in addition to how it starts you out with a template sort of, of the necessities to make any program without having to type in what would be redundant to every program. C# was definately designed for rapid development and ease of use. I too suggest C#. I started with GW-Basic way back in the 1980s and worked my way from that to QBasic, then C, then C++. I find C++ for the most part easy but its only because I have written programs in it for the past 14 years. Anyone jumping from say Basic with line numbers to C++ or any other modernized language for that sake is in for a challenge when they have to break the spaghetti code habits of what Basic with line numbers created. Teaching others programming basics I find it easier to train people with no experience than those with exposure to Basic with line numbers, as for some habits are hard to break, and although you can add goto's in modern languages its poor programming grammar to add them when they can be avoided with cleaner coding. Have I added goto's...YES... sometimes its nice to throw one in there for a 10 second fix, but I generally avoid them when possible.