[C / C ] getch(), getche() in Dev-C and Linux

In the dev-C from 4.9 or less and in Linux does not support conio.h library so we can not use some of the functions which getch() and getche. Here is the code construction 2 This content: See more on stackoverflow.com and zobayer.blogspot.com

[C / C ] Connect alternating 2 linked list

[Assembly] Community 2 decimal integer

For communities to be 2 large integer, then we first need to import and export are 2 large integer decimal system was. You can look at the import and export of raw. Here is the code public 2 decimal integer: link your code based on all import and export of raw or can see 2 file inputDecProc.asm và outputDecProc.asm

[Assembly] Import and export of raw

In Asm enter only provides functions 1 and enter the character string and want to enter 1 Some have 2 digits or more need to build separate procedure. Algorithm enter: For example, the algorithm described: For example we enter 123. The process is as follows: Total = 0 Enter '1' Change '1' → number 1 Total = 10*0 + 1 Enter '2' Change '2' → number 2 […]

[Algorithm] Calculate the trigonometric functions

The formula for calculating the sine(x) and the other trigonometric functions as follows: VD calculate sine(x) , x per radian may be due to the type of data or some other reason that is only accurate to -27<=x<With x = 27 per radian. In the code above we do not count the function x ^(2i 1) and (2i 1)! apart which means continuity in temp temp = x ^ calculation(2i 1) / (2i 1)! to avoid overflow of the […]

[C / C ] Show us some 2, Contacts 8, Contacts 16 of decimal

To display of system 10 to other systems, usually we think of how we change the algorithm with other systems. If you want so you can find on Google has many articles about the algorithm then, here he set a certain way that we do not need to use algorithms that can display immediately. CEO: Enter 1 Some systems 10 already […]

[Assembly] Hex Display as of 1 decimal

In our current program on the number num is hex 223, You can replace it with another. code

[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