Archive | Programming

[Assembly]Fatal: Bad object file record in hello.asm near module file offset 0x00000000

When we execute the TASM hello.asm success and create 1 file hello.obj. But when associated with the command tlink hello.asm got this error message. This error occurs does not understand why his =)), just know that if this error may be that it does not allow links * .asm file. And how we used to overcome the * .obj file instead of the * .asm. In this TH […]

[C / C ] The simulation algorithm by changing the base figure

About algorithm change the number you can see on the net, however, the program would be the change of system 10 to Us 2, 8, 16 and in accordance with the format we still do. Perform on dev-C Implementation in Linux terminal Read more: Principles to switch between the muscles of the Displays system 2, Contacts 8, Contacts 16 of decimal

[C / C ] Click in Dev-C – Mouse event in Dev-C

In this article I will walk on some mouse function and event in graphic mode Dev-C ++. void getmouseclick( int kind, int& x, int& and ); -> obtain the coordinates x,and ( in pixels) where can click bool ismouseclick( int kind ); -> returns true if they happen to click int mousex( ); -> retrieve the mouse coordinates in the x int mousey( ); -> obtain coordinates […]

[Java] Exercise Java library management

Threads: A library to manage documents include, Book, Journal, Newspaper + Each material properties: Code document, Imprint, Number release. + The type of management needed: Author Name, number of pages + The magazine should manage: Issue, May release + The report should manage: release date. 1. Building class […]

[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 […]

[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