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

Active window title





Replace First Occurrence of a Character in - C Code replace first occurrence of a character with another in a string. Input the string from user, store it in some variable say 'str'. Input a character to replace, character new character

C++ Programming Merge Files and Store - C++ program 'merge two files' and store the content of both file into another file. First file name and second file name (say file1.txt and file2.txt), then Third file name that is used to

Generate a Graph for Given Fixed Degree - This algorithm generates a undirected graph for the given "Degree Sequence". It does not include self-edge and multiple edges. So this algorithm 'takes the input' of the number of

The Greatest Number between 3 Numbers - This c++ program shows the greatest number between 3 numbers use 'if-else-if' statement. It takes three numbers as input from user and output the greatest number. Enter value first

C Language Check Triangle is Valid or Not - C Program code to input side of a Triangle & check whether triangle is valid or not using if else. A triangle is valid if sum of its two sides is greater than the third side. Means if a, b, c

C++ Coding Sorts a Data using Heap Sort - Heap sort is comparison based algorithm. It's selection sort sample. The time complexity is O(n*log(n)). Build a max heap using the given data element. And then Delete the root node

C++ Language Encapsulation is a Process - Here we have two "data members" num and ch, we have declared them as private so that they are not accessible outside the class, this way we are hiding the data. The only way to

Finds Factorial of Number using Recursion - This c program prompts user for entering any integer, finds the Factorial of input number & displays the output on screen. Use a recursive user defined function to perform the task. We