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 > Other Code Examples

Moving items in collections





C Reverse an Array without using another - C reverse array without using another array relies on the above logic. What we need to do is maintain two array indexes. arrIndex that moves from size - 1 to 0. revIndex that moves

Code Calculate Score Intersecting Ngrams - C Get ngrams for first word. Get ngrams for second word. Compare two arrays, count duplicates. Calculate score. Clean up. Return array of ngrams. Padd word according to one

Types of Loops in The C++ Programming - While Loop: While a given Expression is true it "Repeats the Statement" in the loop body. Before executing the Loop Body it tests the condition for True or False. Do...While Loop:

Converting Lowercase String to Uppercase - C program 'Converting string' from lowercase to uppercase string using loop. Internally in C language every characters are represented as an integer value known as ASCII value. Where

Perform Unique Factorization of Numbers - Program finds the Unique paritions of a given integer such that addition of a partition result an integer. A positive integer n, "generate" all possible unique ways to represent n as sum of

Add digits of the number single statement - In " For Loop " Condition is first tested & then body is executed. Carefully look at Semicolon at the End of " For Loop ", which tells us Two things. For loop is Bodyless. Only Condition &

C Language Passing Pointer to a Function - Passing a Pointer to a Function in C language. When pass a Pointer as an Argument instead of a variable then the address of the variable is passed instead of the value. So any change

C program Copies one String into another - Demonstrate multiple loop control variables. This is a testing of converge. Copies one string into another. It copies characters to both the ends, converging at the middle...