C and C++ typing practice
Typre is a free typing trainer for programmers. Instead of prose, you type real C and C++ — brackets, operators and indentation included — and it measures WPM, accuracy, raw speed and consistency on every run.
- 181C and C++ snippets
- 61for 15 second runs
- 60for 30 second runs
- 60for 60 second runs
What slows you down in C and C++
The :: scope operator and stream << chains are unlike anything in other languages, and -> appears constantly with pointers. Angle brackets in templates collide with the less-than operator in your muscle memory.
What the snippets cover
STL containers and algorithms, smart pointers, classes with constructors and operator overloads, templates, range-based for, structs and enums, and the C-style memory and string handling you still meet in embedded code.
Snippets you will actually type
Three of the 61 short C and C++ snippets, exactly as they appear in the app:
class Point {
public:
Point(int x, int y) : x_(x), y_(y) {}
};
auto node = std::make_unique<Node>(42);
node->next = nullptr;
typedef struct {
uint8_t id;
float value;
} Sensor;
How it works
Pick 15, 30 or 60 seconds. Snippets are served in shuffled order, so you never repeat one before finishing a full round — even across page reloads. Sign in to put scores on the leaderboard, race a friend on the same snippet in real time, or paste code from your own project. None of it is required: open the page and start typing.