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 > Applications VBA Code Examples

Given a text file, it is required to print only lines that c





C Program Code Clear NTH bit of Number - Program Input number and nth bit position to clear from user. Store it in some variable say j and n. Left shift 1, n times i.e. 1 << n. Perform bitwise complement with the above result...

C Program Code Finds Reverse of an Array - C program just print array in reversed order. It does not reverses the array. Here I am writing the first basic logic to reverse an array. It uses above approach to access array element in...

Check Even or Odd using Conditional and - C input any number and check whether the given number is even or odd using bitwise operator. Check to whether a number is even or odd using bitwise operator in C. Logic to

Count Vowels in a String in C++ Language - Write a 'C++' program which Counts numbers of vowels in a given string and tell every index where a 'Vowel is Found'. Size of array is fixed using the constant variable. We enter a string

Use Infinite While Loops in C++ Language - This Loop would never end as 'decrementing' the value of i which is 1 so the condition i<=6 would never return false. A "While Loop" that never stops is said to be "Infinite While Loop",

C++ Programs to Implements D-ary-Heap - Filling up 'heap' with the array. A Function to check if heap is empty. Function to get index parent of i. Function to get index of k th child of i. Function to find least element. Function

Program Finds the Longest Path in a DAG - Program to find longest path in DAG. Given a weighted directed acyclic graph and a source vertex s in it, find the longest distances from s to all other vertices in the given graph. Create

C Program Reverse String Without Library - Lets find the length of the string using library function strlen(). A "string" is charracter array and a "Character Array" have character range between 0 to length-1. Thus we have position