Escape Sequences for Nonprintable Characters in C++
Some characters are nonprintable. A nonprintable character is a character for which there is no visible image, such as backspace or a control character. Other characters have speci
Read tutorialTHE TUTORIAL LIBRARY
Some characters are nonprintable. A nonprintable character is a character for which there is no visible image, such as backspace or a control character. Other characters have speci
Read tutorialThe number of integral types in C++ can be bewildering. C++, like C, is designed to let programs get close to the hardware when necessary, and the integral types are defined to cat
Read tutorialA logical extension of summing the values between 1 and 10 is to sum the values between two numbers our user supplies. We might use the numbers directly in our for loop, using the
Read tutorialPart of the compiler's job is to look for errors in the program text. A compiler cannot detect whether the meaning of a program is correct, but it can detect errors in the form of
Read tutorialIn our while loop, we used the variable val to control how many times we iterated through the loop. On each pass through the while, the value of val was tested and then in the body
Read tutorialA while statement provides for iterative execution. We could use a while to write a program to sum the numbers from 1 through 10 inclusive as follows:
Read tutorialThere are two kinds of comments in C++: single-line and paired. A single-line comment starts with a double slash (//). Everything to the right of the slashes on the current line is
Read tutorialUsing the IO library, we can extend our main program to ask the user to give us two numbers and then print their sum:
Read tutorialUsers of Microsoft Windows typically install one of the native binary distributions of Perl for Win32, most commonly Strawberry Perl or ActivePerl. Compiling Perl from source code
Read tutorialPerl is implemented as a core interpreter, written in C, together with a large collection of modules, written in Perl and C. as of 2010, the stable version (5.12.3) is 14.2 MB when
Read tutorialEver since the early days of the Web, programmers have used Perl to write CGI scripts. Perl is known as one of "the three Ps" (along with Python and PHP), the most popular dynamic
Read tutorialThe design of Perl can be understood as a response to three broad trends in the computer industry: falling hardware costs, rising labor costs, and improvements in compiler technolo
Read tutorialOne example today. A better developer tomorrow.