Subscribe
Tutorial search

C++ Character Tutorials


Sort by:
code: to replace password with *
code: to replace password with *
This code will show you how to hide input character from the keyboard and display a "*" in its space.
Difficulty:
C++ Characters and Strings
C++ Characters and Strings
The C++ library provides macros for testing individual characters. To use these macros, you must also use: #include < cctype > in your header statements.
Difficulty:
Build Tetris Application Using VisualC++
Build Tetris Application Using VisualC++
This tutorial has only four main code examples, but rather extensive ones. They are presented in increasing complexity order. The simplest one is the Tetris application, which deals with graphics, timing, and message handling. The Draw application adds a generic coordinate system and introduces more complex applications states. The Calc application deals with formula interpretation and graph searching. Finally, in the Word application every character is allowed to hold its own font and size, resulting in a rather complex size and position calculation.
Difficulty:
C++ Understanding Basic Data Types
C++ Understanding Basic Data Types
There are several basic types in C++, each of which has various modifications available. These are: booleans, characters, integers, floating-points, enumerations, and void. Pointers, arrays, references, data structures and classes are built around the basic types and are discussed in other tutorials.
Difficulty:
 STRINGS In C#
STRINGS In C#
The string class is designed specifically for storing and manipulating strings. Some operations of this class include conversion to lower or uppercase, removal of leading and trailing whitespace, replacing characters, comparing two strings and more. Also, a ToString() method is inherited to every object in C#, making available a string conversion of any object. Of course, this method can be overridden in your classes so that you can define the process in which this conversion takes place.
Difficulty:
 Console INPUT/OUTPUT
Console INPUT/OUTPUT
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.
Difficulty:
Strings - C++
Strings - C++
A group of integers stored in the memory is called an integer array. Similarly, a group of characters form a character array.
Difficulty:
Lesson 6: ASCII code and character variables
Lesson 6: ASCII code and character variables
This lesson, as can be presumed from its title, will teach you what is ASCII code, how does it affect programmer"ôs variables and what is the difference between number and numerical figure. This one's easy... Hope you still haven't pulled back; just when I hit you in the face with hardcore code in next few lessons, don't say I caught you off guard :) Developing your own program, even as simple as calculator can give you nice, productive feeling.
Difficulty:
Strings
Strings
Learn all about character arrays (strings).
Difficulty:
The switch statement - C++
The switch statement - C++
C++ has a built-in multiple branch selection statement, called switch which successively tests the value of an expression against a list of integer or character constants.
Difficulty:
Search Term(s) (1): character