Visual Basic Programming Code Examples
Visual Basic > API and Miscellaneous Code Examples
Read an internet web page with API calls
Use of typedef in Structure in C Language -
Typedef makes the code short and improves readability. In the above discussion we have seen that while using structs every time we have to use the lengthy syntax, which makes
C Code Rotate left rotate an Array n times -
C program code to left rotate an array by n position. Logic to rotate an array to left by n position in C program. Read elements in an array say arr. Read number of times to rotate
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 Command Line arguments parameters -
C code to Open command prompt inside Borland C/C++. Click on DOS Shell. Inside command prompt type this command. Type "exit" command to return to Turbo C/C++
Copy one String into Other without library -
Scan a string from "left to right", character by character. In each iteration "copy a character" to a new String variable. As soon as source or original string ends, the process of the coping
C Programming Bubble sort [Linked List] -
If the list is empty, create first node. Go to last node. Add node at the end. Preform a bubble sort on the linked list. The 'c' node precedes the 'a' and 'e' node pointing up...
Identify Whether the String is Palindrome -
Take a string as input and store it in the array s[]. Load each character of the array s[] into the array stack[]. Use variables front and top to represent the last and top element of the
Printf Funtion Display Message by Format -
Hexadecimal, character, scientific notation (lowercase e), scientific notation (uppercase e), string of characters, unsigned decimal integers. decimal floating point, displays a