Questions tagged [string]

A competition to solve a particular problem through the usage and manipulation of strings.

3 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
9
votes
0answers
227 views

Expand the variadic expression

One of the cool features introduced in the C++11 standard is the ability to declare a template parameter as being variadic; i.e. that parameter represents a sequence of an arbitrary number of ...
9
votes
0answers
229 views

Generate Menu Access Keys

This is thematically similar to Generate keyboard shortcuts for a menu, but its actually a pretty different challenge. Let's take PHPStorm's menu as an example: ...
2
votes
0answers
155 views

Test the endianness

Given a UTF-16 string, test its endianness. Rules: As long as the input is in UTF-16 without BOM, its type doesn't matter. In C++ on Windows, it can be ...