# Visual Basic Programming Code Examples

## Visual Basic > Files Directories Drives Code Examples

### Find a file on a drive-path

C Code Calculate a floating-point average -
C Program code to Calculate a floating-point average using pointers. Memory allocation failed. Terminating program. Output the average. The average of the the values you...

C++ Language & One Time Pad Algorithm -
C++ program encodes any message using the technique of 'One time' pad cipher technique. Input is not Case Sensitive and works only for all characters. 'White Spaces' are not ignored

C++ Programming Subtract Two Matrices -
Program ask to the user to enter any two 3*3 array elements to subtract them i.e., Matrix1 - Matrix2, then display the "subtracted" result of the two matrices ( Matrix3 ) on the screen:

Implement Dijkstra's Algorithm Using Set -
This is a C++ Program to find "shortest path". Dijkstra's algorithm is very similar to Prim's algorithm for minimum spanning tree. Like "Prim's MST", we generate a SPT with given

C++ Apply the Kruskal's Algorithm to find -
'C++ Program' to find the minimum spanning tree of the given graph. Kruskal's algorithm is a greedy algorithm in graph theory that finds a "Minimum Spanning Tree" for a connected

C Segregate 0s on left side 1s on right side -
C Program to Segregate 0s on left side and 1s on right side of the Array (Traverse Array only once). Function to segregate all 0s on left and all 1s on right. Increment left index while we

Find the Length of the String by Recursion -
C Program uses recursive function and counts the number of nodes in a Linked List. A linked list is an 'Ordered Set' of data elements, each 'containing a link' to its successor. Recursive C

C++ Programming code Copy File Content -
To copy the "content of a file" to the other file in C++ programming, you have to first ask to the user to enter the "source file" to open the source file and ask to enter the target source