How would you like to MASTER graphic design by next week?
Click here to find out how
Featured Photoshop templates - professional ready to use designs for your next project
View all templates
Understanding QuickSort and then implementing the algorithm - C++ tutorial
QuickSort is a sorting algorithm developed by Tony Hoare and is widely used to sort vectors with numerical properties.
More cool C++ tutorials:
To read some text from the command line you use the Console.Read or Console.ReadLine method implemented in the .net framework. The difference between them is that the Console.Read method reads the next character from the command line, whereas Console.ReadLine reads the next line of characters instead of just a simple character. The Console.Read method returns an integer and should be cast to a char during the input. There is also a special function called Console.ReadKey( Boolean display) which obtains the key that is pressed on the keyboard and if the display parameter is false it depicts it.
code: to replace password with *
This code will show you how to hide input character from the keyboard and display a "*" in its space.
Regular Expressions In C#
A regular expressionís use is for finding substrings in a large string expression. It supports the use of various wild cards and other very useful techniques for performing the required actions. The namespace System.Text.RegularExpressions contains a number of classes associated with regular expressions.
Lesson 7: Assigning, Comparison, IF Conditions
Seventh lesson on Assigning Operators, Comparison Operators, If conditional and coding is up!
Learn all about character arrays (strings).