# Visual Basic Programming Code Examples

## Visual Basic > Graphics Games Programming Code Examples

### Extracting the icon associate with a file and displaying in a listview

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

Count Frequency of each Element in Array -
C programming code to read elements in an array and find frequency of each element in an array. C Program to count the occurrence of each element in an array. Logic to count...

Implement Stack Operations Using Arrays -
Program code for implementing a stack using arrays. It involves various operations such as push, pop, stack empty, stack full and display. We have created 'stack' structure. We have...

Program Checks if Number is Even or Odd -
If a number is exactly divisible by 2 then its an even number else it is an odd number. In this we have shared 2 ways to check whether the input number is even or odd. Using Modulus

Built-in Data Types in C++ Programming -
Any programming language has built in data types. Data types are used to create variables or your new data types. Variable is a amount of memory that has its own name and value.

C++ Find Chromatic Index of Cyclic Graph -
Algorithm finds the "Chromatic Index" of the given cyclic graph. It takes the input of vertex pairs for the given number of edges. Assigns a 'color to edges' without assigning the same

C++ Generate Different Random Numbers -
To generate random numbers in C++, use the function rand() to generate and print random numbers. So If you want to generate different different random numbers at each time when

Code Find sum of Upper Triangular matrix -
Sum of upper triangular matrix is denoted with below image. In below image we need to find sum of matrix elements inside the red triangle. C program to read elements in a...