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 > Multimedia Animation and Sound Code Examples

How to play a midi file





Convert Decimal to Octal in C++ language - To convert decimal number to octal number in C++ programming, you have to ask to the user to enter the decimal number to convert it into octal number to display the equivalent

C++ Coding Generating Random Numbers - Following C++ program generate 100 random numbers using rand() function of stdlib.h. To generate random numbers in C++, we use the function rand() to generate and print random

C Program Code Write a Sentence to a File - Program stores a sentence entered by user in a file. After termination of this program, you can see a text file program.txt created in the same location where this program is located.

C Finds a Year is Leap or not is a bit Tricky - C Program Code we generally assume that if a year number is evenly divisible by 4 is leap year. But it is not the only case. A year is a leap year if it is evenly divisible by 100. If it is

C++ Language Samples Separate Chaining - Internal method to test if a positive number is prime. Not an efficient algorithm and Internal method to return a 'prime number' at least as large as n. Assumes "n > 0". Insert item x into

C++ SQL Connects to ODBC Data Sources - Allocating memory for "ODBC" Environment handle. Connecting to the data source "db97" using userid and password. Prepare the SQL statement by assigning it to the "statement"

Nested Namespace in C++ Programming - In C++ programming, you can create nested 'namespaces'. One namespace can be a part of another namespace. Simply we can create namespace X, which will contain namespace

C Rightmost Occurence of Input Character - Program to find out the rightmost occurence of an input character. Enter the character to be searched. Required character is found at position. Required character is not found in...