3 comments :

Please Enter best of your Comments

Turbo C++ for Android - How to Download and Install

If you are from Srilanka and have started learning C/C++ programming from your College days then you have definitely used Turbo C++ compiler. Still many schools, colleges and institutions in India prefer Turbo C++ for teaching students (don’t know about other countries). I do not recommend you to use Turbo C++ compiler for android because it is very outdated (about 23 years old). There is another option i.e. C4droid, it is an awesome C/C++ IDE that supports gcc compiler. You can download it from here: C4droid Download.

Turbo C++ for Android - How to Download and Install

So, lets come to main topic on which I am writing this article. In windows we use DosBox Emulator for running Turbo C++ for Android, in the same way we need an emulator for android platform which is known as AnDosBox. So without wasting much time lets take a look how we can use Turbo C++ for android platform.

Turbo C++ for Android - Steps to Download and Install

1. First of all download Turbo C++ for Android from link: My3 Software Download

 2. It is compressed so you need to extract it. This can be done by any compression tool like Easy Unrar. You can download it from play store for free.

3. Now after extracting you will get a folder TC and an apk file AnDosBox.

4. Install AnDosBox and move TC folder in your sd card, remember that TC folder must be in sd card not in any other subfolder.

5. Now open AnDosBox that you have already installed. It will look same as like DoxBox that is used in windows.

6. Enter below lines or commands and press enter after each line. You can get the keyboard by pressing the option button situated at left side of your device.

cd tc
cd bin
tc


Turbo C++ for Android - How to Download and Install
Turbo C++ for Android - How to Download and Install

7. If everything will be done correctly then after entering last command a blue screen will open and it is Turbo C++ for Android. You can control the pointer by moving your finger on your touchscreen.

For understanding this tutorial easily I have added a video below that will help you in downloading and installing turbo c++ for android.

Now just go and install it, write and run your program and share your experience with me. Feel free to ask if you are getting any problem.


Download Turbo C++ for Windows 8 for Free Method

Download Turbo C++ for Windows 8 for Free

In my previous posts I have shared links to download turbo c++ for windows xp andwindows 8. From last few days I am getting requests from my blog readers to share a link to download turbo c++ for windows 8. So in this article I have shared about it. Just click on Download Now button to download turbo c++ for windows 8.




Size: 10.1 MB
OS: Windows Vista / Vista 64 bit / 7 / 7 64 bit / 8 / 8 64 bit


C4droid Apk Free Download - C/C++ Compiler for Android Platform

In this point I am giving you link for c4droid apk free download. It is a c/c++ compiler for android platform. On Google Play Store it is available for $2.99 but I have found it for free at http://appxg.com

It is very easy to understand and use. By default you will be able to write and run c programs on c4droid. But for c++ programs you need to download the required plugin from play store. At first when you will open the app it will extract and will ask you you to install the gcc plugin, so install it from google play store. Now download c4droid, install it and share your queries and experience.

Search Terms:
turbo c compiler for android
c compiler for android
download turbo c++ for android
c compiler for android mobile
c4droid apk free download
download c4droid apk
gcc for c4droid apk
c4droid 4.01 apk

3 comments :

Please Enter best of your Comments

The Top 10 Highest Earning Websites in the World

In this article I am going to share about the top 10highest earning websites in the world. The list includes the website name, its founders along with its annual as well as per second revenue. In this earning list Google is at first position while Expedia is at last position.

1. Google

Founders: Larry Page and Sergey Brin
Annual Income: $21,800,000,000
Per Second Income: $691.27

The Top 10 Highest Earning Websites in the World (Google)

2. Amazon

Founders: Jeff Bezos
Annual Income: $19,166,000,000
Per Second Income: $607.75

The Top 10 Highest Earning Websites in the World (Amazon)

3. Yahoo

Founders: Jerry Yang and David Filo
Annual Income: $7,200,000,000
Per Second Income: $228.31

The Top 10 Highest Earning Websites in the World (Yahoo)

4. eBay

Founders: Pierre Omidyar
Annual Income: $6,290,000,000
Per Second Income: $199.45

The Top 10 Highest Earning Websites in the World (eBay)

5. MSN/Live

Founders: Nathan Myhrvold
Annual Income: $3,214,000,000
Per Second Income: $101.92

The Top 10 Highest Earning Websites in the World (MSN/Live)

6. PayPal

Founders: Max Levchin, Peter Thiel, and Luke Nosek
Annual Income: $2,250,000,000
Per Second Income: $71.35

The Top 10 Highest Earning Websites in the World (PayPal)

7. iTunes

Founders: Jeff Robbin
Annual Income: $1,900,000,000
Per Second Income: $60.25

The Top 10 Highest Earning Websites in the World (iTunes)

8. Reuters

Founders: Marshal Vace
Annual Income: $1,892,000,000
Per Second Income: $59.99

The Top 10 Highest Earning Websites in the World (Reuters)

9. Priceline

Founders: Jesse Fink
Annual Income: $1,884,000,000
Per Second Income: $59.74

The Top 10 Highest Earning Websites in the World (Priceline)

10. Expedia

Founders: Added Mark Schroeder
Annual Income: $1,447,000,000
Per Second Income: $45.88

The Top 10 Highest Earning Websites in the World (Expedia)

You can watch video given below:


0 comments :

Please Enter best of your Comments

List of Biggest and Popular Programming Contests

List of Biggest and Popular Programming Contests

Today I am going to share about some biggest and popular programming contests that are being organised by big IT companies like Google, IBM, Microsoft, etc. These are organised in order to find talented programmers all over the world. Programming languages like C, C++, JAVA, etc can be used to participate. Below I have provided a short description about each contest along with their official website so that you can get more details about them.


Google Code Jam
https://code.google.com/codejam/
Google Code Jam is an international programming competition hosted and administered by Google. The competition began in 2003 as a means to identify top engineering talent for potential employment at Google. The competition consists of a set of algorithmic problems which must be solved in a fixed amount of time. Competitors may use any programming language and development environment to obtain their solutions.

Also Read: The Top 10 Highest Earning Websites in the World

The ACM-IPC International Collegiate Programming Contest
http://icpc.baylor.edu/
ACM International Collegiate Programming Contest (abbreviated as ACM-ICPC or just ICPC) is an annual multi-tiered competitive programming competition among the universities of the world. The contest is sponsored by IBM.

The ICFP Programming Contest
http://www.icfpconference.org/contest.html
The ICFP Programming Contest is an international programming competition held annually around June or July since 1998, with results announced at the International Conference on Functional Programming. Teams may be of any size and any programming language(s) may be used. There is also no entry fee. Participants have 72 hours to complete and submit their entry over the Internet. There is often also a 24-hour lightning division.

Microsoft Imagine Cup
http://www.imaginecup.com/
Imagine Cup is an annual competition sponsored and hosted by Microsoft Corp. which brings together young technologists worldwide to help resolve some of the world's toughest challenges. The Imagine Cup comprises five major technology competitions, including Software Design, and four challenges (although the challenge number is updated annually).


Internet Problem Solving Contest
http://ipsc.ksp.sk/
Internet Problem Solving Contest is an online programming competition for 
teams of up to three people, conducted annually each May since 1999. It is organized by the students and faculty members of Faculty of Mathematics, Physics and Informatics of Comenius University in Bratislava, Slovakia. The competition consists of a set of algorithmic problems which must be solved in a fixed amount of time.

Hewlett Packard (HP) Codewars
http://www.hpcodewars.org/
HP CodeWars, formerly Compaq CodeWars, is an annual programming competition held on the Hewlett-Packard campus in Houston, Texas, for area high schools. The first competition was held in 1998. In 2002, the name changed from Compaq CodeWars to HP CodeWars following Hewlett-Packard's acquisition of Compaq. In 2013, HP CodeWars events were also held at HP locations in Taipei, Taiwan and Roseville, California.

There are so many other popular programming contests that I have missed in this article. Let me know about them by commenting below. If you liked the article then don't forget to share it.

Source: Wikipedia
Image Source: http://sharif.ir/~acmicpc/acmicpc05/

0 comments :

Please Enter best of your Comments

The Top 10 Greatest Programmers in the World of all Time

Dennis Ritchie

Dennis MacAlistair Ritchie was an American computer scientist who "helped shape the digital era". He created the C programming language and with long-time colleague Ken Thompson, the Unix operating system. Ritchie and Thompson received the Turing Award from the ACM in 1983, the Hamming Medal from the IEEE in 1990 and the National Medal of Technology from President Clinton in 1999. Ritchie was the head of Lucent Technologies System Software Research Department when he retired in 2007.

Dennis Ritchie
      

Bjarne Stroustrup

Bjarne Stroustrup is a Danish computer scientist, most notable for the creation and development of the widely used C++ programming language. He is a Distinguished Research Professor and holds the College of Engineering Chair in Computer Science at Texas A&M University, a visiting professor at Columbia University, and works at Morgan Stanley.

Bjarne Stroustrup

James Gosling

James Arthur Gosling is a Canadian computer scientist, best known as the father of the Java programming language. James has also made major contributions to several other software systems, such as NeWS and Gosling Emacs. Due to his extra-ordinary achievements Gosling was elected to Foreign Associate member of the United States National Academy of Engineering.

James Gosling

Linus Torvalds

Linus Benedict Torvalds is a Finnish American software engineer, who was the principal force behind the development of the Linux kernel. He later became the chief architect of the Linux kernel, and now acts as the project's coordinator. He also created the revision control system Git as well as the diving log software Subsurface. He was honored, along with Shinya Yamanaka, with the 2012 Millennium Technology Prize by the Technology Academy Finland in recognition of his creation of a new open source operating system for computers leading to the widely used Linux kernel.

Linus Torvalds

Anders Hejlsberg

Anders Hejlsberg is a prominent Danish software engineer who co-designed several popular and commercially successful programming languages and development tools. He is creator of popular programming language C#. He was the original author of Turbo Pascal and the chief architect of Delphi. He currently works for Microsoft as the lead architect of C# and core developer on TypeScript.

Anders Hejlsberg

Tim Berners-Lee

Sir Timothy John "Tim" Berners-Lee also known as "TimBL," is a British computer scientist, best known as the inventor of the World Wide Web. He made a proposal for an information management system in March 1989 and he implemented the first successful communication between a Hypertext Transfer Protocol (HTTP) client and server via the Internet. Berners-Lee is the director of the World Wide Web Consortium (W3C), which oversees the Web's continued development.

Tim Berners-Lee

Brian Kernighan

Brian Wilson Kernighan is a Canadian computer scientist who worked at Bell Labs alongside Unix creators Ken Thompson and Dennis Ritchie and contributed to the development of Unix. He is also coauthor of the AWK and AMPL programming languages. Kernighan's name became widely known through co-authorship of the first book on the C programming language with Dennis Ritchie.

Brian Kernighan

Ken Thompson

Kenneth Thompson commonly referred to as ken in hacker circles is an American pioneer of computer science. Having worked at Bell Labs for most of his career, Thompson designed and implemented the original Unix operating system. He also invented the B programming language, the direct predecessor to the C programming language, and was one of the creators and early developers of the Plan 9 operating systems. Since 2006, Thompson works at Google, where he co-invented the Go programming language.

Ken Thompson

Guido van Rossum

Guido van Rossum is a Dutch computer programmer who is best known as the author of the Python programming language. In the Python community, Van Rossum is known as a "Benevolent Dictator For Life" (BDFL), meaning that he continues to oversee the Python development process, making decisions where necessary. He was employed by Google from 2005 until December 7th 2012, where he spent half his time developing the Python language. In January 2013, Van Rossum started working for Dropbox.

Guido van Rossum

Donald Kuth

Donald Ervin Knuth is an American computer scientist, mathematician, and Professor Emeritus at Stanford University. He is the author of the multi-volume work The Art of Computer Programming. Knuth has been called the "father" of the analysis of algorithms. He contributed to the development of the rigorous analysis of the computational complexity of algorithms and systematized formal mathematical techniques for it. In the process he also popularized the asymptotic notation. Knuth is the creator of the TeX computer typesetting system, the related METAFONT font definition language and rendering system and the Computer Modern family of typefaces.

Donald Kuth

0 comments :

Please Enter best of your Comments

5 Tips to Become a Better Programmer

In this article I am sharing the 5 best tips that will really help you to increase your programming skills and become a better programmer.
Also Read: The Top 10 Greatest Programmers in the World of all Time


5 Tips to Become a Better Programmer

1. Know Basics

You should have a good understanding of basics of the programming language in which you are working or learning. If your basic concepts are strong then you can solve complex problems by breaking it into smaller problems. Your code should be neat and well structured, so that if you start working with the code after few months then you can easily know where you left off.

2. Practice a Lot

We all know the fact that “practice makes a man perfect”. For improving your skills you have to practice thousands of hours. There are plenty of ways for practicing, like you can solve problems from good programming books or find online programming contests. There are many awesome websites likecodechef.comtopcoder.com, etc where you can practice.

3. Be Amenable to Change

Technology is changing very rapidly so you have to aware of such changes. You should make sure that the projects or technologies on which you are working are not outdated. For becoming a better programmer you should always engage yourself in learning new things.

4. Read a Lot

The more you read, the more you learn. Read good programming books, articles, documentations. The best way for reading and learning programming is to join various programming forums and contests.

5. Help Others

Join great forums like stackoverflow.com where you can help other programmers by answering there questions. By helping others you can find answers of your own questions. You can also ask questions in the forums and get your problems solved; this will help you to become better programmer.


These are few tips that will surely help you in becoming a better programmer. If you have any other tips then please mention it in the comment section.

0 comments :

Please Enter best of your Comments

8 Best Rules for Good Programming Style

Proper programming style significantly reduces maintenance costs and increases the lifetime and functionality of software. Most software disasters are rooted in poor style of programming. In this article I am listing out the 8 best rules that lead to a better programming style. Also Read: 5 Tips to Become a Better Programmer

8 Best Rules for Good Programming Style

Readability

Good code is written to be easily understood by colleagues. It is properly and consistently formatted and uses clear, meaningful names for functions and variables. Concise and accurate comments describe a natural decomposition of the software’s functionality into simple and specific functions. Any tricky sections are clearly noted. It should be easy to see why the program will work and reason that it should work in all conceivable cases.

Maintainability

Code should be written so that it is straightforward for another programmer to fix bugs or make changes to its functionality later. Function should be general and assume as little as possible about preconditions. All important values should be marked as constants which can be easily changed. Code should be robust to handle any possible input and produce a reasonable result without crashing. Clear messages should be output for input which is not allowed.

Comments

Comments are the first step towards making computer program human readable. Comments should explain clearly everything about a program which is not obvious to a peer programmer. The volume of comments written is meaningless, quality is all that counts.

Block comments are written using /* comments */ style. They should go at the top of every source file and generally include your name, the date your code was written and overall description of the purpose of that program. Block comments should also precede most functions with a description of the function’s purpose; these can be omitted for very short, obvious functions only.

Inline comments are written as //comments, they should go near important lines of code within functions or with variables when they are initialized.

Naming

Names given to classes, variables, and functions should be unambiguous and descriptive. Other guidelines for naming are:
  • Capitalization is used to separate multi-word names: StoneMasonKarel.
  • The first letter of a class name is always capitalized: GraphicsProgram
  • The first letter of a function or variable name is always in lowercase: setFilled().
  • The names x and y should only be used to describe coordinates.
  • The names i, j, and k should only be used as variables in for loops.
  • Other one-letter names should be avoided: area = base * height instead of a = b * h.
  • Names of constants are capitalized, with underscores to separate words: BRICK_COLOR.
  • Use abbreviations with caution. max instead of maximum is fine, but xprd instead of crossProduct is a problem.

Indentation

Indentation is used to clearly mark control flow in a program. Within any bracketed block, all code is indented in one tab. This includes the class body itself. Each additional for, while, if, or switch structure introduces a new block which is indented, even if brackets are omitted for one line statements. For if statements, any corresponding else statements should line up

White Space

White space is meaningless to compilers, but should be used consistently to improve readability. Typically three blank lines are left in between functions. Individual blank lines are used within functions to separate key sections. Use of spaces varies as well, but inserting one space usually make expression more readable; next = 7 * (prev – 1) is clear than next=7*(prev-1).

Function Usage

Function should be short and accomplish a clear, specific task. As much as possible they should be considered “black boxes” which do not depend on anything except their parameters and can be handle any possible input gracefully. A common rule of thumb is the “Ten Line Rule”, usually function longer than ten lines are trying to do too much and should be simplified.

Another important aspect of functions is that any repeated segments of code should be made into a separate function. This will shorten your program and improve readability.

Output

A final, overlooked aspect of good programming style is how our program output results and information to users. Part of writing professional looking programs is providing clear instructions and results to the users of our programs. This means proper English with no spelling error conditions. One must always assume that writing programs to be used by somebody with no understanding of computer programming whatsoever.

If you liked the article then Just Comment it!


0 comments :

Please Enter best of your Comments

Introduction to Algorithms, 3rd Edition Pdf Download

Introduction to Algorithms is one of the best and popular book for algorithms. This book is written by Thomas H. Cormen. The table of contents and download link is given below.


Also Read: Java The Complete Reference PDF Download

Introduction to Algorithms, 3rd Edition Pdf Download


TABLE OF CONTENTS

Preface
I Foundations
Introduction
1 The Role of Algorithms in Computing
2 Getting Started
3 Growth of Functions
4 Divide-and-Conquer
5 Probabilistic Analysis and Randomized Algorithms

II Sorting and Order Statistics
Introduction
6 Heapsort
7 Quicksort
8 Sorting in Linear Time
9 Medians and Order Statistics

III Data Structures

Introduction
10 Elementary Data Structures
11 Hash Tables
12 Binary Search Trees
13 Red-Black Trees
14 Augmenting Data Structures

IV Advanced Design and Analysis Techniques
Introduction
15 Dynamic Programming
16 Greedy Algorithms
17 Amortized Analysis

V Advanced Data Structures
Introduction
18 B-Trees
19 Fibonacci Heaps
20 Van Emde Boas Trees
21 Data Structures for Disjoint Sets

VI Graph Algorithms
Introduction
22 Elementary Graph Algorithms
23 Minimum Spanning Trees
24 Single-Source Shortest Paths
25 All-Pairs Shortest Paths
26 Maximum Flow

VII Selected Topics
Introduction
27 Multithreaded Algorithms
28 Matrix Operations
29 Linear Programming
30 Polynomials and the FFT
31 Number-Theoretic Algorithms
32 String Matching
33 Computational Geometry
34 NP-Completeness
35 Approximation Algorithms

VIII Appendix: Mathematical Background
Introduction
A Summations
B Sets, Etc.
C Counting and Probability
D Matrices
Bibliography
Index

Book Name: Introduction to Algorithms, 3rd Edition
Author: Thomas H. Cormen
Size: 4.84 MB


0 comments :

Please Enter best of your Comments