Happy Codings - Programming Code Examples
Html Css Web Design Sample Codes CPlusPlus Programming Sample Codes JavaScript Programming Sample Codes C Programming Sample Codes CSharp Programming Sample Codes Java Programming Sample Codes Php Programming Sample Codes Visual Basic Programming Sample Codes


Visual Basic Programming Code Examples

Visual Basic > API and Miscellaneous Code Examples

Function to add simple encryption to a string.





Program Prints Prime Numbers Between 2 - Example to print all 'prime numbers' between two numbers in C++ Language. This problem is solved using nested for loop and if...else. In this program, the while loop is iterated times.

C Program Compare two Text or Data files - Firstly Declare two file pointers for two files. Open 2 files in read mode. Now Inside while loop read both files character by character. Check both characters whether they're equal

Encoding a Message Matrix Multiplication - This C++ Program perform 'encoding matrix' using a hidden-key. "Encoding" is performed using "matrix multiplication" between given matrix and 'key matrix'. Enter the number of

Undirected Graph Contain a Eulerian Cycle - C++ Program to check whether an undirected graph contains "Eulerian Cycle". The criteran Euler suggested, If graph has no odd degree vertex, there is at least one eulerian circuit. If

C++ Program Finds HCF of Two Numbers - To find the HCF ('Highest Common Factor') or GCD (Greatest Common Divisor) of 2 or more numbers, make prime factors of the numbers and choose the common prime factors. Then

C++ Sample code Perform the Shaker Sort - In each iteration, Sorting is done in two Parts. At first, "set the highest" value to the highest index and decrement the index. Then Lowest Value to the Lowest Index and increment the

Program Add Two Numbers Using Pointer - In program we're going to accept 2 numbers from user using pointer. After accepting Two Numbers we are going to add Two Numbers by using "De-reference Operator" in Pointer.

C Program Prints All Odd Numbers 1 to N - How to print Odd Numbers from 1 to N using loop in C programming. Input upper limit to print odd number from user. Store it in some variable N. Run a loop from 1 to N, increment