Visual Basic Programming Code Examples
Visual Basic > Windows and Controls Code Examples
Delete certain Systemmenu-items
C++ Program to Perform Greedy Coloring -
Give all its neighbouring colours a vertex, but before that keep a check on used colours and unused colours. 'Only assign', unused colours to the upcoming vertex. The problem takes a
Check Whether a Number is Prime or Not -
A prime number is a positive integer which is divisible only by 1 and itself. Example: 2, 3, 5, 7, 11, 13... If the for loop terminates when the test expression of loop i <= n/2 is false, it is a
C++ Language Open and Read File Source -
C++ program opens a file named filename.txt to read the content present inside this file, if there is an error in opening a file then puts a message on the screen for the "error", and if
Checking Singly Linked List is Palindrome -
C Program checks whether the Singly Linked list is a palindrome. A Palindrome is a Pattern in List in which the contents when read from front is the same as when read from last. So
Bitwise operators are used in C Language -
C Program Code Bitwise operators During computation, mathematical operations like: addition, subtraction, addition and division are converted to bit-level which makes and
C++ Simple Calculator Code for Beginners -
Write a simple C++ program which have four different functions for "basic operations" like addition, subtraction, division, multiplication. It should be menu based asking user to enter
Trim Leading & Trailing white spaces from -
I already explained how to remove leading as well as trailing white space characters from a given string. In this program we will Combine the logic of both in a single program. Logic to
C Language Passing Pointer to a Function -
Passing a Pointer to a Function in C language. When pass a Pointer as an Argument instead of a variable then the address of the variable is passed instead of the value. So any change