Archive | Programming

[Java] Recursive call in the main Java

Unexpectedly, when a friend gave this code and the test was run.

[Android] Failed to allocate 1999634432 B: Cannot allocate memory

This error occurs when you turn down the Option RAM Memory to about 512.

[Assembly] Export multiple digit numbers in Assembly

To export multiple digit numbers we perform some separation from right to left in order to stack and store div. Then again taken from the stack. The following example in some 12346 screen code

[Assembly] Export array of Assembly

[Assembly] Down the line in Assembly

CR: ASCII is 0dh help us return to the beginning of the line. LF: ASCII code 0Ah help us to new line. Declaring clrf 13.10 db, '$’ was declared a sequence of two characters CR and LF. Note that there are still characters $ to inform ending. VD on the assembly line to use 0Ah. Examples of the first assembly line in use 0dh. CEO […]

[Java] The level of access in java – Edit in Java

To protect data prevent free access from outside, object-oriented programming using the keywords specified range access the properties and methods of the class. Java uses some later complements to control access to the components of the object : public: Ingredients public, free access from outside. protected: Ingredients are […]

[Java] Permutation functions in Java – Swap in Java

The implementation of the function swap (swapped – conversion) in java it is somewhat different from C / C or Pascal,… To change the value of the variable out of a function, you must use the object. You can refer to 2 The following example function swap later if you want to read the details below or if the code was puzzled to read, then read […]

[Java] How to run Java code on ideone.com, Compound

Tran ideone.com page is a code that allows you to give up, stored in user accounts and special can compile and run it to us immediately. However with the introduction of Java code to which we often mistake: Main.java:6: error: class bt1 is public, should be declared in a file named bt1.java public class bt1 { ^ 1 Error error was due to name their class […]

[C / C ] Launch Failed: Binary not found – Eclipse

Just try their C programming on eclipse, Now run the Hello World outdated and, it as the post title so =)) So where errors? Simplicity is not a service that was run by. =)) Overcome: Already, run only. !!!Hello World!!!

[C / C ] Gotoxy() in Linux – Gotoxy() in Linux

In linux no gotoxy available functions we need to rebuild it as follows: source: ccs1.hnue.edu.vn/son/forum