• Increase font size
  • Default font size
  • Decrease font size

How to Create Dictionary English-English in Turbo C++

E-mail Print PDF

This article shows how to create dictionary of English-English-Khmer in Turbo C++ programming language. From this sample, you will see how to:

  • Use graphic mode in Turbo C++
  • Use mouse pointer in Turbo C++
  • Create user interface looks seemly like the GUI (graphic user interface) in windows application too like button style, menu style, scroll bar, etc. which are fully drawn by coding in Turbo C++.
  • Use Object Oriented Programming in Turbo C++

Sample Code of Class Mouse Pointer

/* Class of Mouse pointer */
union REGS inregs,outregs;
class mouseobj {
	   int  init();
	   void show( void );
	   void hide( void );
	   void horiz_limit( int minx, int maxx );
	   void vert_limit( int miny, int maxy );
	   int  press();
	   int post( int left, int top, int right, int buttom);
int mouseobj::init(){ = 0;

void mouseobj::show(){ = 1;
Download Sample Here