The purpose of this tutorial is to give you an idea of the differences between C++ and C++ .NET. It is suitable for those who want to migrate from C++ to C++ .NET but also for those with no prior experience in programming. This tutorial is written with two types of readers in mind. The […]
Show Link Icons Depending On File Extension
Possible since CSS version 2.1, the anchor element can be referred to depending on the last few characters of the href attribute, hence links with different extensions can have different styles.
Trim Leading And Trailing Spaces
Trim the whitespaces at the beginning and end of a string using while loops instead of regular expressions.
Using header files in C++ .NET
This tutorial will show you how to work with C++ .NET headers (or includes). How to create a header file with a class in it, include the file in a typical .cpp file, set a variable and call a public function, both defined inside the header. So let’s see how it’s done. Create a new C++ […]
Calculate grade average with weights
This C++ program will calculate the average of 4 grades by using weight calculation. It will then display the average and give the user a chance to review the grades.
Basic Bitwise Operations in Pascal
Four simple bitwise operations as Pascal functions.
Palindrome Detector using C++
The palindrome detector application will first clean and analyze a string and then inform you whether or not it is a palindrome. This is probably one of the strangest applications I built because the requirements forced me to not make use of any header files except iostream. Thus, instead of using a string object to manipulate the palindrome, […]
Overloading Operators: Creating a Rational Class
This tutorial will teach you how to overload most of the operators available in C++, including arithmetic and comparison, in order to create a class that is able to calculate rational numbers. Probably one of the most interesting features of object oriented programming is the possibility to overload operators. This allows you to create your […]
Show Link Icons Depending On Protocol
Place an icon next to each link depending on the protocol used in the href attribute of the anchor tag. This way you can mark external links that are secure (through https) for all browsers supporting CSS 2.1 or later.
Validate email addresses using VB.NET
Using RegEx this VB.NET code validates an email address. It’s checking for a string separated by the at (@) character, and again separated by a dot.