Tip Bank

DevX - Software Development Resource

Create Custom Cursors in Swing

Sometimes the provided Swing cursor types just don’t meet the needs of your application. In those cases, you may want to consider creating your own, completely customized cursor. To add

DevX - Software Development Resource

Executing a Member Function Before main()

We can execute any member function or any other execution before main() function by using: “#pragma startup”.Syntax: #pragma startup [priority]//without semicolon Example: #includeclass CL{public: //A constructor CL(){ cout ” The

DevX - Software Development Resource

A Fast Multiplication Method for Integer Numbers

The multiplication operation for integer numbers is implemented in the processor as repeated additions. The number of additions can be reduced by considering the representation in base 2 of the

DevX - Software Development Resource

Bind a DataGrid to a DataSet at design-time

Binding a DataGrid – or any other data-aware control – to a DataSet or a DataTable at runtime isn’t difficult: you just have to assign the DataTable to the DataGrid’s