Follow us on Twitter!
It is the path of least resistance that makes rivers and men crooked. - Bj Palmer
Monday, August 21, 2017
 Need Help?
Members Online
Total Online: 70
Guests Online: 65
Members Online: 5

Registered Members: 101591
Newest Member: henrzt20
Latest Articles

Introduction to Programming I: Installation

Arrow Image Python, Ruby, C, C++ and Java.

If you want to learn programming, it is a very interesting adventure. I will cover the basics in these tutorial series. I will teach you four language: Python, Ruby, C/C++ and Java. I wish you enjoyable moments and strength.

0x01. Definition
Before we start the programming, you should be familiar with the next terms:

1. Computer programming (often shortened to programming):
~ a process that leads from an original formulation of a computing problem to executable computer programs.

2. Source code:
~ In computing, source code is any collection of computer instructions (possibly with comments) written using some human-readable computer language, usually as text.

3. Executable code/file/program:
~ In computing sometimes simply an executable, causes a computer "to perform indicated tasks according to encoded instructions," as opposed to a data file that must be parsed by a program to be meaningful.

4. Object code/module:
~ What a computer compiler produces.

5. Compiler:
~ A computer program (or a set of programs) that transforms source code written in a programming language (the source language) into another computer language (the target language), with the latter often having a binary form known as object code.

6. Interpreter:
~ In computing, an interpreter is a computer program that directly executes, i.e. performs, instructions written in a programming or scripting language, without previously compiling.

0x02. Installation
If you want to run them from anywhere, you should set their path in command line.
For example:
set path="%path% c:\Python35-32"
set path="%path% C:\MinGW\bin"
set path="%path% c:\jdk1.8.0_102\bin"

1. Python
a. Windows: (Make sure you add python to your environmental variables)
b. Linux:

2. Ruby
a. Windows: (Make sure you check Add Ruby executables to your PATH)
b. Linux:
Debian/Ubuntu: sudo apt-get install ruby-full
CentOS, Fedora, or RHEL: sudo yum install ruby
Gentoo: sudo emerge dev-lang/ruby
Arch Linux: sudo pacman -S ruby

3. C/C++
a. Windows: (mingw32-base, mingw32-gcc-g++)
b. Linux:
Debian/Ubuntu: sudo apt-get install g++
CentOS, Fedora, or RHEL: sudo yum install gcc-c++

4. Java
a. Windows:
b. Linux:
Debian/Ubuntu: sudo apt-get install default-jdk
CentOS, Fedora, or RHEL:
yum search java | grep java-
yum install java-1.7.0-openjdk*

May the force be with you! ♥


Lord_Zeynon August 29 2016 - 19:14:07
I will teach you four language: Python, Ruby, C/C++ and Java. C and C++ are not the same language.
_spartax_on November 16 2016 - 03:51:33
Perl is Shit
psyl0ckeon November 20 2016 - 21:13:36
languages is the correct word
Prince326on July 07 2017 - 16:32:11
Python is best..
Post Comment


You must have completed the challenge Basic 1 and have 100 points or more, to be able to post.