# Visual Basic Programming Code Examples

## Visual Basic > Database SQL Stuff Code Examples

### Enumerate all the queries-stored procs in a Access-SQL Database

Program Convert Binary Decimal Number -
To improve "readability of program" make a separate function and function should return the "resultant number". In main function user enters input number. Calls the function, pass

Program to calculate Average of array in C -
This C program should give an insight of how to parse (read) array. We shall use a loop and Sum up all Values of the array. Then we shall divide the sum with the number of elements

C++ Codings Simple Class Template Array -
Templates are a feature of the C++ Language that allows functions and classes to "operate" with generic types. A class template provides a "specification" for generating classes based

Code Convert a Number Decimal to Binary -
Find a Binary equivalent of a decimal number entered by the user, using recursion. The user has to enter a 'decimal' which has a base 10 & this program evaluates the binary equivalent

BoyerMoore & Algorithm String Matching -
Whenever the 'character' does not match, we slide the pattern in such a way that aligns the bad character with the last occurrence of it in pattern. We preprocess the pattern and store

Display largest element of an input Matrix -
C language code to pick & display the largest element of an input matrix. How many rows in the matrix? How many columns in the matrix? The largest element of the matrix is

Encoding a Message Matrix Multiplication -
This C++ Program perform 'encoding matrix' using a hidden-key. "Encoding" is performed using "matrix multiplication" between given matrix and 'key matrix'. Enter the number of

C++ Implements Fermat's Little Theorem -
Program demonstrates the implementation of Fermat's Little Theorem. For the modular "multiplicative inverse" to exist, the number and 'Modular' must be 'Coprime'. Calculates