Skip to content
TFE Times

TFE Times

Business, Technology, and Culture

RPI Leaderboard
NYU Tandon School of Engineering Leaderboard
MAFI_728x90
University of Maryland Masters of Economics Leaderboard
University of Maryland Masters of Economics  Leaderboard
University of California Irvine Leaderboard
Brandeis University Master of Finance Leaderboard 728x90
Click here
Click here
University of California Irvine Leaderboard
MAFI_728x90
Click here
  • Business
  • Culture
    • Beer Guide
    • Cheese Guide
    • Cigar Guide
    • Coffee Guide
    • Wine Guide
  • 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
  • WSET
    • WSET Level 1 Beer
    • WSET Level 2 Beer
    • WSET Level 1 Sake
    • WSET Level 2 Sake
    • WSET Level 3 Sake
    • WSET Level 1 Spirits
    • WSET Level 2 Spirits
    • WSET Level 3 Spirits
    • WSET Level 1 Wine
    • WSET Level 2 Wine
    • WSET Level 3 Wine
    • WSET Level 4 Wine

Category: C++ Strings

C++: FASTA Format

Posted on September 1, 2017October 10, 2017 by TFE Times
Posted in C++ StringsTagged fasta, fasta format, format, string
C++: FASTA Format

In bioinformatics, long character strings are often encoded in a format called FASTA. A FASTA file can contain several strings, each identified by a n

Continue Reading

C++: Empty String

Posted on September 1, 2017October 10, 2017 by TFE Times
Posted in C++ StringsTagged empty, string
C++: Empty String

Languages may have features for dealing specifically with empty strings (those containing no characters). The task is to: Demonstrate how to a

Continue Reading

C++: Huffman Coding

Posted on September 1, 2017October 10, 2017 by TFE Times
Posted in C++ StringsTagged binary, binary encoding, coding, encoding, huffman, huffman coding
C++: Huffman Coding

Huffman encoding is a way to assign binary codes to symbols that reduces the overall number of bits used to encode a typical string of those symbols.

Continue Reading

C++: Levenshtein Distance

Posted on September 1, 2017November 7, 2026 by TFE Times
Posted in C++ StringsTagged distance, levenshtein
C++: Levenshtein Distance

template <class T> unsigned int edit_distance(const T& s1, const T& s2) { const size_t len1 = s1.size(), len2 = s2.size(); vect

Continue Reading

C++: Longest Common Substring

Posted on September 1, 2017November 7, 2026 by TFE Times
Posted in C++ StringsTagged common, longest, substring
C++: Longest Common Substring

#include <string> using std::string; int LongestCommonSubstring(const string& str1, const string& str2) { if(str1.empty() |

Continue Reading

C++: Generate Lower Case ASCII Alphabet

Posted on September 1, 2017October 10, 2017 by TFE Times
Posted in C++ StringsTagged alphabet, ascii, case, generate, lower
C++: Generate Lower Case ASCII Alphabet

Generate an array, list, lazy sequence, or even an indexable string of all the lower case ASCII characters, from 'a' to 'z'. If the standard librar

Continue Reading

C++: Copy a String

Posted on September 1, 2017October 10, 2017 by TFE Times
Posted in C++ StringsTagged a, copy, string
C++: Copy a String

This task is about copying a string. Where it is relevant, distinguish between copying the contents of a string versus making an additional reference

Continue Reading

C++: Formatted Numeric Output

Posted on September 1, 2017October 10, 2017 by TFE Times
Posted in C++ StringsTagged decimal, fixed-length, formatted, formatting, numeric, output
C++: Formatted Numeric Output

Express a number in decimal as a fixed-length string with leading zeros. For example, the number 7.125 could be expressed as "00007.125". #inc

Continue Reading

C++: CRC-32

Posted on September 1, 2017October 10, 2017 by TFE Times
Posted in C++ StringsTagged crc32
C++: CRC-32

Demonstrate a method of deriving the Cyclic Redundancy Check from within the language. The result should be in accordance with ISO 3309, ITU-T V.42,

Continue Reading

C++: Determine if a String Is Numeric

Posted on September 1, 2017October 10, 2017 by TFE Times
Posted in C++ StringsTagged a, determine, if, is, numeric, string
C++: Determine if a String Is Numeric

Create a boolean function which takes in a string and tells whether it is a numeric string (floating point and negative numbers included) in the synta

Continue Reading

Posts navigation

Newer posts
University of Maryland Masters of Economics Sideboard
output_8BgzjE
Click here
Brandeis Business School
University of California Berkeley Master of Financial Engineering MFE Sideboard
University of California Irvine Leaderboard
University of Maryland Masters of Economics Sideboard
NYU Tandon School of Engineering Sideboard
  • Global Senior Populations

    November 20, 2026November 6, 2026 by TFE Times
  • Thanksgiving Air Travel

    November 20, 2026November 6, 2026 by TFE Times
  • Portafilter, tamper, scale, gooseneck kettle, paper filters and cupping spoon arranged on a terracotta workbench.

    Common Coffee Terms Explained: A Beginner’s Glossary

    November 20, 2026October 24, 2026 by TFE Times
  • Conceptual close-up of a snowboard's dark base and steel edge contacting a small raised ripple of snow in warm side light.

    Why Snowboarders Catch an Edge—and How to Reduce the Risk

    November 19, 2026October 26, 2026 by TFE Times
  • Wide landscape showing a shadowed glass office tower at left, an oil pumpjack in the center, and a drilling rig at right above a cutaway of a curved horizontal well and branching fractures in layered rock.

    History of EOG Resources

    November 19, 2026September 19, 2026 by TFE Times
  • Best Restaurants in Los Angeles: 15 Standout Places to Eat — illustrative editorial food collage

    Best Restaurants in Los Angeles: 15 Standout Places to Eat

    November 19, 2026October 17, 2026 by TFE Times
  • Two helmeted skiers pausing to assess an open groomed slope before descending.

    How to Ski Steeper Slopes Without Losing Control

    November 19, 2026October 25, 2026 by TFE Times
  • What a Child Custody Lawyer Reviews Before a Parenting Hearing

    November 19, 2026 by TFE Times
  • King Billy Casino Australia: 5,000 Games, A$2,500 Bonus and Crypto Banking

    November 19, 2026 by TFE Times
  • Illustrated history cover for the Tennessee Titans

    History of the Tennessee Titans: From the Houston Oilers to Nashville and the Titans’ Championship Pursuit

    November 19, 2026October 17, 2026 by TFE Times

Copyright © TFE Times, LLC. All Rights Reserved.

Terms of Service | Privacy Policy | Disclaimer

WordPress Theme : Eight Paper by 8Degree Themes