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

Formating a path to always end with a backslash





C Trim Leading White Spaces from Strings - Program Trim leading white space characters from a string. Remove "Leading Whitespace" characters from the string. Find Last index of whitespace character. White space character

Checking the Number is Armstrong or Not - To check whether a number is an 'Armstrong' number or not an Armstrong number in 'C++' Language, 'enter the number', now check for the Armstrong number, whether the entered

C++ language Simple Stack using Pointers - A 'stack' is a basic "data structure" and can be defined in an 'Abstract', implementation-free manner, or it can be "Generally Defined" as a Linear List of items in which all additions and

If entered string contains Space Character - C Programming code to find out if entered string contains a space character. Enter string. String will be terminated if you press Ctrl-Z. String contains a Space Character.

Code Read & Print Details of 50 Students - The annual examination is conducted for 50 students for three subjects. Write a program to read the data and determine the following: Total marks obtained by each student. The...

C++ An Object can be Passed to Functions - An object can be passed to a function just like we pass structure to a function. Here in class A we have a "function disp()" in which we are passing the object of class A. Similarly we can

C Convert Binary to Octal Number System - Program input binary number and convert to octal number system. To make things simple and sound, I have divided the logic in 2 easy steps. Group all binary bits to 3 digits starting

Find the Frequency of Substring in Strings - Take a string and a substring as input. Store it in the arrays 'str[] & str1[]' respectively. Using For Loop to 'compare' str1[] with the str[]. Do step2 until the end of main string. During the