Skip to content
TFE Times

TFE Times

Business, Technology, and Culture

Click here
Click here
Click here
MAFI_728x90
NYU Tandon School of Engineering Leaderboard
RPI Leaderboard
MAFI_728x90
Brandeis University Master of Finance Leaderboard 728x90
University of California Irvine Leaderboard
University of California Irvine 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
University of California Irvine Leaderboard
Click here
Brandeis Business School
output_8BgzjE
University of California Berkeley Master of Financial Engineering MFE Sideboard
NYU Tandon School of Engineering Sideboard
  • How Do Car Accident Laws Work in Queens Under New York’s No-Fault System?

    September 17, 2025 by TFE Times
  • All About Playing at Golden Crown Casino: A Guide for Australian Players

    September 17, 2025 by TFE Times
  • Table Games at Legiano Casino: Roulette, Poker and Blackjack

    September 17, 2025 by TFE Times
  • Supporting Curiosity and Critical Thinking in Young Learners

    September 17, 2025 by TFE Times
  • Post-Pandemic GDP Recovery

    September 17, 2025May 25, 2025 by TFE Times
  • Imports’ Share Of Economies

    September 16, 2025May 25, 2025 by TFE Times
  • Why Millennials and Gen Z Are Choosing Slots Over Traditional Table Games

    September 15, 2025 by TFE Times
  • How to Open a Checking Account and Start Building Financial Independence

    September 15, 2025 by TFE Times
  • The Cost Of Cash: Interest Rates In 2025

    September 15, 2025September 17, 2025 by TFE Times
  • The World’s 50 Most Valuable Companies

    September 14, 2025May 25, 2025 by TFE Times

Copyright © TFE Times, LLC. All Rights Reserved.

Terms of Service | Privacy Policy | Disclaimer

WordPress Theme : Eight Paper by 8Degree Themes