Skip to content
TFE Times

TFE Times

Business, Technology, and Culture

Click here
MAFI_728x90
RPI Leaderboard
Click here
Brandeis University Master of Finance Leaderboard 728x90
NYU Tandon School of Engineering Leaderboard
Click here
University of California Irvine Leaderboard
University of Maryland Masters of Economics Leaderboard
University of Maryland Masters of Economics  Leaderboard
University of California Irvine Leaderboard
MAFI_728x90
  • 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

Author: TFE Times

C++: Greatest Element of a List

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged a, c, element, greatest, gretest, list, max, of
C++: Greatest Element of a List

Create a function that returns the maximum value in a provided set of values, where the number of values may not be known until runtime. This will

Continue Reading

C++: Minesweeper Game

Posted on September 1, 2017June 2, 2022 by TFE Times
Posted in C++ PuzzlesTagged game, minesweeper
C++: Minesweeper Game

There is an n by m grid that has a random number (between 10% to 20% of the total number of tiles, though older implementations may use 20%..60% inste

Continue Reading

C++: Accumulator Factory

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged accumulator, c, factory
C++: Accumulator Factory

A problem posed by Paul Graham is that of creating a function that takes a single (numeric) argument and which returns another function that is an acc

Continue Reading

C++: Discordian Date

Posted on September 1, 2017October 10, 2017 by TFE Times
Posted in C++ PuzzlesTagged calendar, date, discordian
C++: Discordian Date

Convert a given date from the Gregorian calendar to the Discordian calendar. #include <iostream> #include <algorithm> #include <

Continue Reading

C++: Ethiopian Multiplication

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, ethiopian, multiplication
C++: Ethiopian Multiplication

A method of multiplying integers using only addition, doubling, and halving. Method: Take two numbers to be multiplied and write them down at

Continue Reading

C++: Exponentiation Operator

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, exponentiation, operator
C++: Exponentiation Operator

Most all programming languages have a built-in implementation of exponentiation. Re-implement integer exponentiation for both intint and floatint as b

Continue Reading

C++: Infinite Loops

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, infinite, infinite loop, loops
C++: Infinite Loops

Specifically print out "SPAM" followed by a newline in an infinite loop. while (true) std::cout << "SPAM" << std::endl; or

Continue Reading

C++: Fractran

Posted on September 1, 2017October 10, 2017 by TFE Times
Posted in C++ PuzzlesTagged fraction, fractran, language, Programming, programming language
C++: Fractran

FRACTRAN is a Turing-complete esoteric programming language invented by the mathematician John Horton Conway. A FRACTRAN program is an ordered list

Continue Reading

C++: Hash From Two Arrays

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged array, c, from, hash, map, mapping, s, two
C++: Hash From Two Arrays

Using two Arrays of equal length, create a Hash object where the elements from one array (the keys) are linked to the elements of the other (the value

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

Posts navigation

Older posts
Newer posts
NYU Tandon School of Engineering Sideboard
Click here
University of Maryland Masters of Economics Sideboard
University of Maryland Masters of Economics Sideboard
University of California Irvine Leaderboard
University of California Berkeley Master of Financial Engineering MFE Sideboard
Brandeis Business School
output_8BgzjE
  • The History of the 5-Iron: Golf’s Disappearing Middleweight

    October 18, 2026October 17, 2026 by TFE Times
  • 5 Everyday Business Expenses Worth Reviewing Every Year

    October 17, 2026 by TFE Times
  • Before the Damage Spreads: Outdoor Maintenance Warning Signs in Winter Garden

    October 17, 2026 by TFE Times
  • Running Trading Backtests on a Rented Server: What Quant Students Need

    October 17, 2026 by TFE Times
  • Best Restaurants in Oxford, Mississippi: 15 Standout Places to Eat — illustrative food collage

    Best Restaurants in Oxford: 15 Standout Places to Eat

    October 17, 2026October 16, 2026 by TFE Times
  • The Judgment of Paris: The Tasting That Changed Wine

    October 17, 2026October 16, 2026 by TFE Times
  • Two period factory workers handle a large automobile tire beside an early motorcar outside a red-brick industrial building, while a silver airship floats overhead.

    History of Goodyear Tire & Rubber

    October 16, 2026September 19, 2026 by TFE Times
  • Best Restaurants in Milwaukee: 15 Standout Places to Eat — food and city collage

    Best Restaurants in Milwaukee: 15 Standout Places to Eat

    October 16, 2026October 3, 2026 by TFE Times
  • The History of the Chipper: Golf’s Most Misunderstood Specialty Club

    October 16, 2026July 13, 2026 by TFE Times
  • A weathered green dinosaur-shaped sign on a white pole stands against a blue sky, with refinery towers and pipelines in the background.

    History of HF Sinclair

    October 15, 2026September 19, 2026 by TFE Times

Copyright © TFE Times, LLC. All Rights Reserved.

Terms of Service | Privacy Policy | Disclaimer

WordPress Theme : Eight Paper by 8Degree Themes