# Visual Basic Programming Code Examples

## Visual Basic > Files Directories Drives Code Examples

### Get the (sub)directorys

Implement a Binary Search Tree by Linked -
This C++ program, displays the traversal of a "binary search tree" in inorder,postorder and preorder mode using "Linked Lists". A linked list is an ordered set of 'data elements', each

Calculate Addition or Subtraction & Trace -
Calculate the addition or subtraction & trace of 2 matrices. Here trace of the matrix is the sum of the elements on the main diagonal i.e the diagonal from the upper left to the lower

Using Virtual Functions in C++ Language -
See in this case the output is Woof, which is what we expect. What happens in this case? Since we marked the function animalSound() as virtual, the call to the function is resolved

C Programming Code & Logical Operators -
C an expression containing Logical Operator returns either 0 or 1 depending upon whether expression results true or false. C Program to demonstrate working of logical operators...

C++ Finding Transitive Closure of a Graph -
Displaying the 'transitive closure matrix' of a graph. The reachability of a particular node 'i' towards all node pairs ('i','j') is known as the transitive closure of a graph. So this matrix is

C Code Print Fibonacci Series by Recursion -
Program print 'Fibonacci Series' by recursion. "L. Fibonacci" discovered a simple numerical series called Fibonacci Series. Starting with 0 & 1, each new number in the series is simply...

Find Angles of triangle if two angles given -
C Program to input two angles from user and find third angle of the triangle. How to find all angles of a triangle if two angles are given by user using C programming. Sum of angles of

File Encryption and Decryption C program -
Do not give the have the same sourcefile and destinationfile, encrypting or decrypting, bug will be worked out as I get more interested in file encryption. Decrypt the file with the same