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 > Files Directories Drives Code Examples

Reading text files (into arrays or string variables)





C Swapping Two Numbers Using Variable - C programmers are required to swap values of two variables. Here, we shall learn how to swap values of 2 integer variables, that may lead to swapping of values of any type and...

C StrnCat Concatenate n Characters of str2 - C function 'strncat' concatenates n characters of str2 to string str1. Program concatenates n characters of str2 to string str1. A 'terminator' char ('\0') will always be appended at the end

C++ Program Codes Print Prime Numbers - For example, to print prime number between '3 to 29', here 3 is the starting number and 29 is the ending number, enter the starting and ending number to find and print all the prime

Reverse a Number Check it is Palindrome - Take the Number which you have to Reverse as the input. Obtain its quotient & remainder. Multiply the Separate variable with 10 & add the obtained remainder to it. Do step 2 again

C Programming Codes Implement a Stack - C Program to ask the user for the operation like push, pop, display, exit. Use the variable top to represent the top of the stack and then according to the option entered, access its...

For Statement is Typically used to Count a - The "First section" specifies the starting point for the count. The "Second section" sets the counting limit. The "Last section" determines the "counting frequency". The formula of the

Find the Length of the String by Recursion - C Program uses recursive function and counts the number of nodes in a Linked List. A linked list is an 'Ordered Set' of data elements, each 'containing a link' to its successor. Recursive C

C Build Binary Tree if Inorder or Postorder - C Program to Build Binary Tree if inorder or postorder traversal as input. Create a new node. Create a balanced binary search tree. Insert a node in the tree. Create a node and