About 1,290,000 results
Open links in new tab
  1. Strings in C++ - GeeksforGeeks

    Mar 6, 2025 · The following operations aims to improve your understanding of the strings in C++ and introduce you to some of the most commonly used operations provided by C++: Find Length of a String; Take String as Input; Reverse a String; String Concatenation; Comparing two strings; Different ways to copy a string; Find Substring; Tokenizing a string ...

  2. Applications of String Matching Algorithms - GeeksforGeeks

    Apr 23, 2025 · String matching is a process of finding a smaller string inside a larger text. For example, searching for the word “apple” in a paragraph. It is useful in areas like text search, data analysis and more. There are two types of string matching algorithms: To understand more about matching algorithms refer to: String Matching Algorithms.

  3. String Functions in C++ - GeeksforGeeks

    Apr 24, 2025 · A string is referred to as an array of characters. In C++, a stream/sequence of characters is stored in a char array. C++ includes the std::string class that is used to represent strings. It is one of the most fundamental datatypes in …

  4. String cheatsheet for coding interviews - Tech Interview Handbook

    4 days ago · A string is a sequence of characters. Many tips that apply to arrays also apply to strings. You're recommended to read the page on Arrays before reading this page. Common data structures for looking up strings: Trie/Prefix Tree; Suffix Tree; Common string algorithms: Rabin Karp for efficient searching of substring using a rolling hash

  5. C++ Strings - W3Schools

    Strings are used for storing text/characters. For example, "Hello World" is a string. A string variable contains a collection of characters surrounded by double quotes:

  6. String Programs in C++ - Sanfoundry

    Here is a collection of C++ string programs on string operations, string functions, palindrome programs, string matching, and cryptographic algorithms.

  7. C++ string handling - Wikipedia

    The std::string class is the standard representation for a text string since C++98. The class provides some typical string operations like comparison, concatenation, find and replace, and a function for obtaining substrings. An std::string can be constructed from a C-style string, and a C-style string can also be obtained from one. [7]

  8. C++ Strings (With Examples) - Programiz

    There are two types of strings commonly used in C++ : In C programming, the collection of characters is stored in the form of arrays. This is also supported in C++ programming. Hence, it's called C-strings. C-strings are arrays of type char terminated with a null character, that is, \0 (ASCII value of null character is 0). How to define a C-string?

  9. Introduction to String — Data Structures & Algorithm - Medium

    Jan 11, 2024 · Strings are a fundamental data type in programming that represent sequences of characters. In this article, we’ll explore the basics of strings, including character sets, ASCII, Unicode,...

  10. string - Simple wildcard search algorithm in C++ - Stack Overflow

    Sep 26, 2016 · Focus on the tokens between wilcards (the wildcards are not what should be matched). There is recursion (the matching of the remainder class match (....) recursively). There is backtracking (if the recursive match doesn't succeed, we try the next token submatch)

  11. Some results have been removed
Refresh