Skip to content
TFE Times

TFE Times

Business, Technology, and Culture

MAFI_728x90
University of California Irvine Leaderboard
Click here
University of California Irvine Leaderboard
Brandeis University Master of Finance Leaderboard 728x90
RPI Leaderboard
MAFI_728x90
Click here
NYU Tandon School of Engineering Leaderboard
Click here
  • 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 Berkeley Master of Financial Engineering MFE Sideboard
Click here
output_8BgzjE
Brandeis Business School
NYU Tandon School of Engineering Sideboard
University of California Irvine Leaderboard
  • The Income Needed To Buy A Home In 2025

    October 9, 2025May 25, 2025 by Patrick
  • AI Construction featured

    Why Hiring a Local Portland Plumber is Essential for Your Home Repairs

    October 8, 2025 by TFE Times
  • Crypto payment 101: a beginner’s guide for merchants

    October 8, 2025 by TFE Times
  • The Largest American University Endowments

    October 8, 2025May 25, 2025 by TFE Times
  • Traveling to Istanbul for a Hair Transplant: A Step-by-Step Guide for Patients

    October 7, 2025 by TFE Times
  • 1win: gamified bonuses & minimalist design for focused play

    October 7, 2025October 7, 2025 by TFE Times
  • 1win casino offers diverse games and a secure online gaming experience

    October 7, 2025 by TFE Times
  • The ROI of Relocation: How Moving Can Multiply Your Business Opportunities

    October 7, 2025 by TFE Times
  • Billion Dollar Companies By Country In 2025

    October 7, 2025May 25, 2025 by TFE Times
  • Are Competitors Spying on Your Business? How Private Detectives Uncover Online Espionage

    October 6, 2025 by TFE Times

Copyright © TFE Times, LLC. All Rights Reserved.

Terms of Service | Privacy Policy | Disclaimer

WordPress Theme : Eight Paper by 8Degree Themes