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

Removing A FileName From A Path





C Find Sum of Natural numbers in a range - Give a meaningful name to the function, say sumOfNaturalNumbers(). The function must accept two inputs i.e. the lower & upper limit to find sum. Pass two integer parameters to

C++ Code Matrix Multiplication 2D Arrays - Matrix addition is the "operation of adding" 2 matrices by adding the corresponding entries together. 2 dimensional array, represented in the form of "rows and columns", also suitable

Switch Case Statements Break Statement - Lets see a sample without break statement, then we will discuss switch case with break 'Switch Case' statement is mostly used with 'break statement' even though the break is

C Program Code to Catch pressing Ctrl+C - Program example catches the Ctrl-C (SIGINT) signal for the first time and prints a output rather but exits on pressing ctrl-c again. You have presses Ctrl-C, please press again to exit

Find First Capital Letter in a String without - Program using iteration, finds the first capital letter that exists in a string. We have included ctype.h in order to make use of int "isupper()" C Function that's Defined inside the "ctype.h"

Arithmetic, Assignment, Logical, Bitwise - Arithmetic operators: +, -, *, /, %, addition, subtraction, multiplication, division, modulo. Assignments operators in C++ are: =, +=, -=, *=, /=, %=. Auto increment and decrement

Program Implements First Fit Decreasing - This is a C++ Program to implement First Fit Decreasing for one dimensional objects and M bins. This is bin packing algorithm for first fit technique. Bubble Sort descending order

Getting a User Input as String in The C++ - This can be considered as inefficient method of reading user input, why? Because when we read the user input string using cin then only the "First word of the String" is stored in char