C++: Programming in Linux – Hello World

January 12, 2010

C++ is one of the most widely used programming languages today. I’m not going to talk about it in general but skip to the first example, which would be the Hello World program.
Before we start you should know that Ubuntu has an included C++ compiler called G++, so you won’t be needing a C++ IDE. I’ll be writing the programs here on GEdit (plain text editor) and compile it with G++. Also Ubuntu has an integrated debugger called GDB. Those two work on the command line, don’t be scared it isn’t complicated.
Read the rest of this entry »

QBasic: Installing on Linux and writing your first program

December 9, 2009

Basic is a fairly easy programming language to learn for beginners, that’s why I’m starting with that particular language and will work my way up the complexity scale.
QBasic is an IDE (Integrated development environment) and an interpreter for the BASIC programming language. It was developed by Microsoft more than 20 years ago. And being developed by MS it runs only on Windows, but thanks to emulators, namely Wine, it’s possible to run in it under Linux also. All you need to do to install Wine emulator on your Linux box is to write into the terminal this line:

sudo apt-get install wine

Read the rest of this entry »