Visual Basic Programming Code Examples
Visual Basic > Forms Code Examples
Creating a textbox which displays different MRU lists (like IE address bar)
Swaps Array Elements and Reverse Arrays -
Program declare an integer array of size five, initialize it using for loop. Pass size and array name to function. Function uses for loop and "swap array elements" with in it. A for loop is
The C++ Implementation for Leftist Heap -
Internal method to merge Two Roots. Deals with Deviant Cases & calls recursive merge1. Internal method to "merge two roots". And Assumes 'trees are not empty', and h1's root
Program to check Palindrome string using -
A 'Palindrome' is a special string which reads same from backward or forward such as eye, mom, madam, dad, bob, teet. We traverse a string character by character 'both direction'
C program code to set nth bit of a number -
We use bitwise OR | operator to set any bit of a number. C Bitwise OR operator evaluate each bit of the resultant value to 1 if any of the operand corresponding bit is 1. Input the
Sample Implements Sieve of Eratosthenes -
C++ program sample to implement Sieve of Eratosthenes. Program initializes an integer array with all the "elements initialized" to 0. Then The Algorithm follows where the each
C++ Code to Calculate Standard Deviation -
Program calculates the standard deviation of 10 data using arrays. This program calculates the 'standard deviation' of a individual series using arrays. calculate "Standard Deviation",
C Language Code to Linked list Operations -
Enter the element you want to add. Enter the element to delete. demonstrating search. Address of first occurence. Inputs given internally for demo only. Displaying second...
C Programming Codes Displaying a Table -
C Language code how to display a table in C programming language is more or less similar to that of counting. We use only one iteration and increment it with value of which table is