Archive | Programming

[Java] Replace characters by way String.replaceAll – Replace a plus character using Java’s String.replaceAll method

In some signs TH [ ^ $ . | ? * + ( ) called the special symbols. Want to replace them, Ex-character + chain do: or

[Eclipse] Import project in Eclipse

If you've installed the Eclipse that had previously been doing some project then you need to Import they can open. File -> Import Nhấn Next. Then click the Browse button to navigate to the folder containing the project. Select Project to import and click Finish, attention when selecting the folder containing the project you have to press OK, not double.

[Algorithm – Java] Calculate the value of the expression suffix – Calculate value of the postfix Equation

The validity of a mathematical expression in infix form of conventional computers will be converted to the inverse Polish notation (suffixes) for the calculation is easy. You can see the transformation algorithm from the element to the suffix in my article. In this article, I will present the method for calculating the value of an expression […]

[Java] Stack in Java – Stack in Java

Stack is a data structure to store multiple data elements. Stack operations according to the following mechanism before Last In / First Out (LIFO). In the Stack with the basic operations: + Push : more 1 element on top of the stack + Pop : taken 1 elements from the top of the stack + Peek: Stack returns the first element without removing it from the Stack + isEmpty: Check […]

[Java] Change the number of array elements in Java – Resize the array length in Java

In Java to change the size of the array we will copy the original array to another array with the desired size.

History of programming languages – History of programming languages

In an increasingly connected world , the programming language platform role. Did you know that the first programming language was more 100 years old and was written by a woman named Ada Lovelace? Please join us! We will go deeper into the history, evolution, and popularity of programming languages […]

[Algorithm – Java]Share loose use Go back

Recommended articles listed requirements may cases when the amount of N divided into a denomination coins[in].

[C / C ]Check the input string can be zero in C – Check string import is number in C

There are many checks but here we use the function cin.fail()

[C / C ]Stack and applications- Stack trong C – Stack in C

Stack is an unordered list that allows insertion and deletion is performed at the end of the list and we call this the tip end (top) the stack.

[Java] Enter arrays from files, sorted and exported file in Java – Import Array from file, sort and export file in Java

– Create 1 class array initialization (class InitArray) – Create 1 Import Export array class inherits from the class file to initialize the array (class IOArray extends InitArray) – Create 1 sorted array class inheriting class array initialization (class SortArray extends InitArray) – Class arrays (Array) contains the main function() executable program code Here are: