Visual Basic Programming Code Examples
Visual Basic > Forms Code Examples
Return a dialog handle-class name from a caption
C Programming Nested If...Else Statement -
In programming if...else statement executes two different codes depending upon whether the test expression is true or false. Sometime a choice has to be made from more than two
Function Classes in The C++ Programming -
We have two classes XYZ and ABC. The XYZ class has two "private data members" ch and num, this class declares 'ABC' as Friend Class. This means that 'ABC' can access the private
Add Two Matrix Using Multi-Dimensional -
In this program, user is asked to entered the number of rows r & columns c. The value of r & c should be less than 100 in this program. Then, the program adds these two matrices,
C++ Code Finds Greatest Common Divisor -
This means a 'greatest number' which divides both numbers. Example: Two numbers are 18 and 24. Numbers which Divides both are 1, 2, 3 and 6 in which greatest number is 6. So 6 is
Implementing the Bin Packing Algorithm -
This is a sample program to illustrate the Bin-Packing algorithm using next fit heuristics. In the bin packing problem, objects of different volumes must be packed into a finite number
C Convert Octal to Hexadecimal Number -
C program to input octal number from user and convert to hexadecimal number system. Octal Number System is a base 8 number system. It uses 8 symbols to represent all its
Code Nonzero If ch is a White-Space Char -
C Programming Language codings to returns nonzero if ch is a white-space char, including space, horizontal tab, vertical tab, formfeed, carriage return, newline character; otherwise
C Code Locate Highest Lowest nr in Array -
C Program example Return the largest of the two passed numbers. Return smallest of the two passed numbers. Load some random values into the array. Print set of numbers.