# Visual Basic Programming Code Examples

## Visual Basic > Database SQL Stuff Code Examples

### Display the results of an ADO recordset in a HTML combo (ASP)

Multiple Initialization Inside For Loop in C -
1. It is initializing two variables. Note: both are separated by comma (,). 2. It has two test conditions joined together using AND (&&) logical operator. You cannot use multiple test

Generating Random Numbers by Multiply -
C++ Program to generate Random Numbers using Multiply with 'Carry' method. multiply-with-carry ("MWC") is a method invented by 'George Marsaglia' for generating sequences

C++ Describe the Representation of graph -
This algorithm represents a given graph using 'Adjacency List'. This method of representing graphs isn't efficient. The time complexity of this algorithm is O(v*e). Print the 'adjacency'

C Programming Bubble sort [Linked List] -
If the list is empty, create first node. Go to last node. Add node at the end. Preform a bubble sort on the linked list. The 'c' node precedes the 'a' and 'e' node pointing up...

C++ Programming Finds Length of Strings -
To find the length of the string in 'C++', ask to enter the string and then Find the Length the that string using function "strlen()" of string.h library and display the length value of a string

Implementing Disjoint Set Data Structure -
This C++ program implements the "Disjoint" Set data structure. It is a data structure that keeps track of a set of elements partitioned into a number of disjoint ("nonoverlapping")

C Calculate Total Average and Percentage -
Input marks of five subjects of a student and calculate total, average and percentage of all subjects. Calculate total average percentage in C programming. Find total, average and...

Find the Size of int, float, double and char -
In this c program, we are using the sizeof() operator to find the size of data types. When the sizeof is used with the primitive data types such as int, float, double and char then