Visual Basic Programming Code Examples
Visual Basic > Database SQL Stuff Code Examples
Enumerate the Servers (inc. SQL) on a domain
Inputs Few Numbers Performs Merge Sort -
Input few numbers & perform 'Merge Sort' on them using recursion. C program to performs merge sort. Merge sort is a sorting algorithm with complexity of O(nlogn) and It is used for
C++ Generating All Subsets of a Given Set -
Program print all the possible combination of each length from the given array in gray code order. The 'time complexity' of this algorithm is 'O(n*(2^n))'. This algorithm takes the input
C++ Language & Concatenate Two Strings -
Combined two strings means add both string with each other, perform this operation using 'library function' or without library function. If first string is 'john' and second string is porter
C Program Finds Perimeter of a Rectangle -
C input length and width of a rectangle and calculate perimeter of the rectangle. How to find perimeter of a rectangle in C language. Input length and width of the rectangle using
Program to Find number of Days in month -
Program code enter Month number between 1-12 and print number of days in month using If Else. Input month number from user. Store it in a variable say month and for each month
Finds Independent Sets in Graph by Graph -
Code finds 'largest independent' set by graph coloring. In graph theory, an independent set or stable set is a set of vertices in a graph, no two of which are adjacent. That is, it is a set I
C++ Codes Linear Congruential Generator -
C++ Program to "generate random numbers" using Linear Congruential Generator. A linear congruential generator (LCG) is an algorithm that yields a sequence of pseudo-randomized
C Program Find First N Fibonacci Numbers -
C Coding calculate the Fibonacci Numbers in the series. First two numbers in the Fibonacci sequence are 0, 1 & each subsequent number is the sum of the previous 2. Fn = Fn-1 + Fn-2