 Visual Basic Programming Code Examples

Visual Basic > API and Miscellaneous Code Examples

Determine if an API exists (can be called) from a machine

Get Total Number of Notes in an Amount - C program to input amount from user & print minimum number of notes (Rs. 500, 100, 50, 20, 10, 5, 2, 1) required for the amount. Input amount from user. Store it in a variable 'amt'.

C Performs Quick Sort on A Set of Entries - C program to using recursion, performs quick sort. A 'Quick Sort' is a sorting algorithm with 'complexity of O(nlogn)'. It is used for sorting Numbers, Structure, Files. Enter the number

C++ Program to Perform Right Rotation - In discrete mathematics, tree rotation is an operation on a binary tree that changes the structure without interfering with the order of the elements. A tree rotation moves one

Generate All Possible Combinations of List - Algorithm takes the input of 'n' data element and prints all 'possible combination'. For that, it maintains a boolean 'Array of Length' "n". If the corresponding boolean value is true, then

C++ Sample Code Implement Bucket Sort - Divide the range into equal parts and assign a 'bucket' to each part. Split the data and insert them into the Corresponding bucket by using insertion sort. 'Merge' all the buckets into one

Converts Hexadecimal to Decimal Number - C program to input hexadecimal number and convert it to Decimal number. Hexadecimal number system is a base 16 number system. It uses 16 symbols to represent all number i.e.

Binary Search Algorithm & Specific Search - C++ Program to find a search sequence using Binary search. Implement the "binary search" to find the first value of search sequence. It is there, compare remaining item 'Sequentially'

Code Searchs for an Element in Linked List - C program search for an element in the linked list using recursion. Uses recursive function & search for an element in a Linked List. Linked List is an Ordered set of Data Elements, each