Visual Basic Programming Code Examples
Visual Basic > API and Miscellaneous Code Examples
See if Crystal Reports is being viewed on screen or is done printing.
C Program to Find Smallest array element -
Finding smallest value in an Array is a classic C array program. C code gives you an insight of iteration, array and conditional operators. We iteratively check each element of array...
The C++ Booth's Multiplication Algorithm -
"Multiply two Signed numbers" using Booth's algorithm. Booth's multiplication algorithm is a multiplication algorithm that multiplies two signed 'binary numbers' in two's complement
Check Palindrome number using recursion -
Recursive function in C to Check Palindrome number. Declare recursive function to check palindrome. First give a meaningful name to our function, say isPalindrome(). Along with
Sum of each Row and Columns of a matrix -
C program to read elements in a matrix and find the sum of elements of each row and columns of matrix. C program to calculate sum of rows and columns of matrix. Input...
Checks If an Integer is Odd or Even In C++ -
A formal definition of an even number is that it is an integer of the form 'n = 2k', where k is an integer; it can then be shown that an odd number is an integer of the form "n = 2k + 1".
Find last Occurrence of Character in String -
C program to input any String from user and find the Last occurrence of a given character in the string. Input String from user, 'Store it' in some variable say 'str'. Declare a index =-1
C++ Mathematic Code Add Two Numbers -
In this C++ program, user is asked to enter 2 integers. Then, the sum of those 2 integers is stored in a variable and 'displayed' on screen. The variables firstNumber & secondNumber
C Print Range of Fundamental Data Types -
C Program Code to Convert the number of bytes into bits by multiplying the bytes with 8. Use two functions namely signed_one() and unsigned_one() for calculating the range