# Visual Basic Programming Code Examples

## Visual Basic > API and Miscellaneous Code Examples

### Validating An Email Address

C++ Programs Converts Decimal to Binary -
To convert decimal number to binary number in C++, you have to enter the decimal number to convert it into 'binary number' to print the equivalent value in binary format as shown in

Cube Root of a Number in C++ Language -
To find 'cube root of any number' we need to find 0.3 power of any number. if you need to find cube root of 27 then calculate 0.3 power of 27, result is 3. So another method for this

Count Frequency of Characters in The C++ -
Frequency of character in a string means how many times a "particular character" is present in a string. In sample; suppose we have string hitesh in this word h repeated 2 times, it's the

How to use Variable Types The C language -
In Programming a Variable is a place holder for some value. All variables have some type associated with them, which expresses what 'type' of values they can be assigned. C offers

C++ language has many built-in operators -
Operator is a symbol that is used to perform "mathematical" or "logical" manipulations. +, -, *, /, %, Addition, Subtraction, Division and Multiplication, Modulus, ++, -- Increment and

C Program Printing Upside Down Triangle -
Upside down triangle. A triangle with all sides equal is called "Equilateral Triangle". We shall now see how to print stars char, in equilateral triangle shape, but 'upside-down'. Equilateral

C++ Template to Gets Maximum Number -
Templates are a feature of the C++ language that allows functions and classes to operate with generic types. A "simple C++ template" behaves same as normal function except the

C Code using of &(ampersand) *(asterisk) -
C We have already seen in the first example that we can display the address of a variable using ampersand sign. I have used &num to access the address of variable num. The &...