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

How to call Help file functions using API.

C Programs Calculates the Simple Interest - Program calculates the simple interest given the principal amount, rate of interest & time. The Formula to calculate the Simple interest is: simple_interest = (p * t * r) / 100 where p...

Program Code Calculates the Value of nCr - This C Program to Calculates the value of nCr. The algorithm used in this program is nCr = n! /((n-r)!r!) and We need to Find all the Possible combination of the value n&r. A combination

C++ Codings Rules of Declaring Variables - A variable name can consist of Capital letters A-Z, lowercase letters a-z, digits 0-9, and the underscore character. First character must be a "letter or underscore". Blank spaces cannot

C Program code to Illustrate Pass by value - Take two numbers as input and store it in the variables j1 and j2 respectively. Call function swap and pass the variables j1 and j2 as parameters to the function swap. In function

C Count Occurrences of a Word in a String - Write a C program to Count Occurrences of a word in a given string using loop. Input string and word from user. Get the total number of occurrences of a word in a string. Print count

Calculates Area & Circumference of Circle - To calculate area and circumference we must know the radius of circle. C program code will prompt user to enter the radius and based on the input it would calculate the values. Make

Code Parse the Command Line Arguments - C program is an example of how to parse the command line arguments. It sets up all the global variables for a real program and it just doesn't have any body. Loop for each option.

C Program Filter text with a stop word list - Read stoplist into binary tree, expects one entry per line. Split string into tokens, return token array. Make sure, copy string to a safe place. Always keep last entry null terminated.