Skip to content
TFE Times

TFE Times

Business, Technology, and Culture

Brandeis University Master of Finance Leaderboard 728x90
Click here
University of California Irvine Leaderboard
Click here
MAFI_728x90
MAFI_728x90
RPI Leaderboard
University of California Irvine Leaderboard
Click here
NYU Tandon School of Engineering Leaderboard
  • Business
  • Culture
  • Technology
  • International Rankings
    • Bangladesh
    • Canada
    • Egypt
    • India
    • Nigeria
    • Pakistan
    • Philippines
    • United Kingdom
    • United States of America
  • Masters Rankings
    • Accounting
    • Business Analytics
    • Chiropractic
    • Computer Engineering
    • Computer Science
    • Economics
    • Education
    • Finance
    • Financial Economics
    • Financial Engineering
    • Law
    • Management
    • Marketing
    • MBA
    • Nursing
    • Social Work
  • Resources
    • C++
      • Beginner’s Guide to C++
      • An Introduction to the Imperative Part of C++
      • C++ Code
        • Sorts
        • Binary Search Trees
        • Strings
        • Binary Search
        • Math
        • Quant
        • Puzzles/Games
        • Language Concepts
        • Graphics
        • OS Operations
        • Graphs
      • C++ Full Course
      • C++ Crash Course
      • C++ Interview Questions
      • C++ Q/A
      • C++ Books
      • C++ Free Books
      • C++ Videos
    • C Questions
    • C Programming Tips
    • Java Questions
    • Quant Data Sources
    • Quant Questions

Category: C++ Strings

C++: JSON

Posted on September 1, 2017October 10, 2017 by TFE Times
Posted in C++ StringsTagged json
C++: JSON

Load a JSON string into a data structure. Also create a new data structure and serialize it into JSON. Use objects and arrays (as appropriate for y

Continue Reading

C++: String Literals

Posted on September 1, 2017October 10, 2017 by TFE Times
Posted in C++ StringsTagged literal, literals, s, string, string literals, strings
C++: String Literals

Show literal specification of characters and strings. If supported, show how verbatim strings (quotes where escape sequences are quoted literally) and

Continue Reading

C++: Multisplit

Posted on September 1, 2017October 10, 2017 by TFE Times
Posted in C++ StringsTagged multisplit, split, strings
C++: Multisplit

It is often necessary to split a string into pieces based on several different (potentially multi-character) separator strings, while still retaining

Continue Reading

C++: Longest Common Subsequence

Posted on September 1, 2017October 10, 2017 by TFE Times
Posted in C++ StringsTagged common, longest, subsequence
C++: Longest Common Subsequence

#include <algorithm> #include <string> #include <vector> #include <stdio.h> #include <string.h> // See http

Continue Reading

C++: Caesar Cipher

Posted on September 1, 2017October 10, 2017 by TFE Times
Posted in C++ StringsTagged caesar, cipher
C++: Caesar Cipher

Implement a Caesar cipher, both encoding and decoding. The key is an integer from 1 to 25. This cipher rotates (either towards left or right) the

Continue Reading

C++: Count Occurrences of a Substring

Posted on September 1, 2017October 10, 2017 by TFE Times
Posted in C++ StringsTagged a, count, occurrences, of, substring
C++: Count Occurrences of a Substring

The task is to either create a function, or show a built-in function, to count the number of non-overlapping occurrences of a substring inside a strin

Continue Reading

C++: Base64 Encode Data

Posted on September 1, 2017October 10, 2017 by TFE Times
Posted in C++ StringsTagged base64, data, encode
C++: Base64 Encode Data

Convert an array of bytes or binary string to the base64-encoding of that string and output that value. Use the icon for Rosetta Code as the data to c

Continue Reading

C++: Here Document

Posted on September 1, 2017October 10, 2017 by TFE Times
Posted in C++ StringsTagged here document, heredoc, string, string literal
C++: Here Document

A here document (or "heredoc") is a way of specifying a text block, preserving the line breaks, indentation and other whitespace within the text. D

Continue Reading

C++: Compare a List of Strings

Posted on September 1, 2017October 10, 2017 by TFE Times
Posted in C++ StringsTagged a, compare, list, of, strings
C++: Compare a List of Strings

Given a list of arbitrarily many strings, show how to: test if they are all lexically equal test if every string is lexically less than the on

Continue Reading

C++: Execute a Markov Algorithm

Posted on September 1, 2017October 10, 2017 by TFE Times
Posted in C++ StringsTagged a, algorithm, execute, markov, markov algorithm, strings
C++: Execute a Markov Algorithm

Create an interpreter for a Markov Algorithm. Rules have the syntax: <ruleset> ::= ((<comment> | <rule>) <newline>+)* <c

Continue Reading

Posts navigation

Older posts
Brandeis Business School
University of California Irvine Leaderboard
NYU Tandon School of Engineering Sideboard
output_8BgzjE
Click here
University of California Berkeley Master of Financial Engineering MFE Sideboard
  • The States With The Most Doctors

    February 8, 2026October 5, 2025 by TFE Times
  • Teen Vapes By State

    February 7, 2026October 5, 2025 by TFE Times
  • U.S. States With The Highest Credit Card Debt

    February 6, 2026October 5, 2025 by TFE Times
  • How Online Casino Regulation Redefined the Industry

    February 5, 2026 by TFE Times
  • Three Factors That Are Dragging Down The U.S. Dollar

    February 5, 2026October 5, 2025 by TFE Times
  • wordpress

    Best Ways to Convert PDF to Word for Contracts: Enterprise Tools Reviewed

    February 4, 2026 by TFE Times
  • Millionaire Wealth Migration

    February 4, 2026October 5, 2025 by TFE Times
  • Corporate Penalties

    February 3, 2026October 5, 2025 by TFE Times
  • How Data and Strategy Combine to Drive Smarter Campaigns

    February 2, 2026February 2, 2026 by TFE Times
  • Fertility Rates In The World’s 10 Biggest Countries

    February 2, 2026October 5, 2025 by TFE Times

Copyright © TFE Times, LLC. All Rights Reserved.

Terms of Service | Privacy Policy | Disclaimer

WordPress Theme : Eight Paper by 8Degree Themes