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

Returning the reference count on an object





C++ Using The If Else Ladder Else If Clause - The "expressions" are evaluated in order; if an expressionis true, the 'statement' or 'block of statement' associated with it is executed, and this terminates the whole chain. The Code for

Program Copy String with strcpy Function - Input a "string from user" and store it to some variable say text1, declare another variable to store "copy of first string" in text2. Run a loop from 0 to end of string. Loop structure should

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

Program Sort text data by soundex value - Insert line in the Linked List. Create a new node. Save data into new node. First, we handle the case where 'data' should be the first element. Get soundex code for a string.

C++ Programming Merge Files and Store - C++ program 'merge two files' and store the content of both file into another file. First file name and second file name (say file1.txt and file2.txt), then Third file name that is used to

C Calculates Area of an Equilatral Triangle - An "Equilateral Triangle" has equal sides (all 3 sides are equal). In order to calculate the area of equilateral triangle, we must know the side of the triangle. This C program would prompt

C Language Code Convert Binary to Octal - Program takes a binary number as input and converts to octal. Take a binary number as input. Divide the binary number into groups of 3 bits. For each group of 3 bits, multiply...

C++ Codings Quick Sort & Randomization - Quick sort is based on an 'algorithmic' design pattern called 'divide-conquer'. Unlike Merge Sort it does not require 'extra memory space'. The average time complexity is "O(n*log(n))"