Follow us on Twitter!
Capitalism is an Island of wealth in a sea of poverty
Friday, April 28, 2017
Navigation
Home
 Find:
 Information:
Learn
Communicate
Submit
Shop
Challenges
 Exploit:
 Programming:
 Think:
 Track:
 Patch:
 Other:
 Need Help?
Other
Members Online
Total Online: 78
Guests Online: 63
Members Online: 15

Registered Members: 99960
Newest Member: Depraved_Brain
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
Windows:
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: https://www.python.org/downloads/ (Make sure you add python to your environmental variables)
b. Linux: https://www.python.org/downloads/source/

2. Ruby
a. Windows: http://rubyinstaller.org/downloads/ (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: https://sourceforge.net/projects/mingw/files/Installer/ (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: http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
b. Linux:
Debian/Ubuntu: sudo apt-get install default-jdk
CentOS, Fedora, or RHEL:
yum search java | grep java-
java-1.7.0-openjdk.x86_64
yum install java-1.7.0-openjdk*

May the force be with you! ♥
psyl0cke

Comments

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
Post Comment

Sorry.

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