Showing posts with label programming. Show all posts
Showing posts with label programming. Show all posts

Friday, March 16, 2012

ArmStrong Number

An Armstrong number of three digits is an integer such that the sum of the cubes of its digits is equal to the number itself. For example, 371 is an Armstrong number since 3**3 + 7**3 + 1**3 = 371.


Write a program to find all Armstrong number in the range of 0 and 999.


Wednesday, November 2, 2011

QT - An introduction

Qt is a cross-platform application framework that is widely used for developing application software with a graphical user interface (GUI) (in which cases Qt is classified as a widget toolkit), and also used for developing non-GUI programs such as command-line tools and consoles for servers. It is produced by Nokia.

Qt is most notably used in Autodesk Maya, Adobe Photoshop Elements, OPIE, Skype, VLC media player, VirtualBox, and Mathematica, and by the European Space Agency, DreamWorks, Google, HP, KDE, Lucasfilm, Panasonic, Philips, Samsung, Siemens, Volvo, and Walt Disney Animation Studios.


Friday, October 14, 2011

Validation in windows application in C#

Whenever we create an application, some forms need specific entries. For example, phone numbers must be all numeric, whilst email ID must have a @ symbol followed somewhere by a . symbol. For these purposes, no automatic validators are provided for windows applications. Hence, we must manually give validations to these fields.

There are many logical routes to valication. The following is the validation code that I follow. Hope it helps you too. In case of any doubts or suggestions, kindly feel free to comment or mail me at nardz07@gmail.com.


Ten Important Tips For Java Users

There are some protocols that when followed differentiate a good program from a mediocre program. Here are some tips that will help you become good Java programmers: