Visual Basic Programming Code Examples
Visual Basic > Code Snippets Code Examples
Detect if media in drive
C++ Codings Global Function Friend Class -
Similar to friend class, this 'C++ Function' can access the private and protected members of another class. A 'Global Function' can also be 'declared as friend' as shown in the C++ Code
C Checking the Character is Alphabet Digit -
C Programming input a character and Check whether given character is alphabet, digit or special character using if else. A character is alphabet if it in between a-z or A-Z. Character
C Using Continue in While Loop statement -
When using while or do-while loop you need to place an increment, decrement statement just above the continue so that counter value is changed for the next iteration. if we do not
C program code to set nth bit of a number -
We use bitwise OR | operator to set any bit of a number. C Bitwise OR operator evaluate each bit of the resultant value to 1 if any of the operand corresponding bit is 1. Input the
Printing Multiplication Table of a Number -
C program to input a number from user and print multiplication table of the given number using for loop. Input a number from user to generate multiplication table. Store it in a var
Generate a Graph for Given Fixed Degree -
This algorithm generates a undirected graph for the given "Degree Sequence". It does not include self-edge and multiple edges. So this algorithm 'takes the input' of the number of
C Code Selection Sort Method by Function -
C Program implements selection sort method using functions. 'Selection' Sort is among the simplest of Sorting Techniques. Lets first find the smallest in the array and exchange it with
C++ language Program to Implement Trie -
Program demonstrates the implementation of Trie. Trie node base declaration. Trie node declaration. Trie class declaration. Insert trie node. Destroy trie. Trie traversal. Clustering