Skip to content
TFE Times

TFE Times

Business, Technology, and Culture

Click here
RPI Leaderboard
Click here
MAFI_728x90
University of California Irvine Leaderboard
MAFI_728x90
NYU Tandon School of Engineering Leaderboard
Click here
Brandeis University Master of Finance Leaderboard 728x90
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
Click here
NYU Tandon School of Engineering Sideboard
University of California Irvine Leaderboard
Brandeis Business School
University of California Berkeley Master of Financial Engineering MFE Sideboard
output_8BgzjE
  • The 50 Best Places To Work In America

    November 18, 2025June 27, 2025 by TFE Times
  • Turning Miles into Money: Expert Tips for Assessing Your Vehicle

    November 17, 2025 by TFE Times
  • Billionaire Migration

    November 17, 2025June 27, 2025 by TFE Times
  • 6 Key Steps in the O-1 Visa Application Process

    November 16, 2025 by TFE Times
  • Mapped: Homeownership Rates by U.S. State

    November 16, 2025June 27, 2025 by TFE Times
  • Animals With The Longest Lifespans

    November 15, 2025June 27, 2025 by TFE Times
  • Dairy vs. Plant-Based Milk

    November 14, 2025June 27, 2025 by TFE Times
  • How Much Gold Is in Fort Knox?

    November 13, 2025June 27, 2025 by TFE Times
  • Percentage Of The World’s Freshwater By Country

    November 12, 2025June 27, 2025 by TFE Times
  • Semaglutide: a Versatile GLP-1 Peptide with Expanding Roles in Research

    November 12, 2025November 12, 2025 by TFE Times

Copyright © TFE Times, LLC. All Rights Reserved.

Terms of Service | Privacy Policy | Disclaimer

WordPress Theme : Eight Paper by 8Degree Themes