Skip to content
TFE Times

TFE Times

Business, Technology, and Culture

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

Author: TFE Times

C++: Dutch National Flag Problem

Posted on September 1, 2017October 10, 2017 by TFE Times
Posted in C++ PuzzlesTagged dutch, flag, national, problem, puzzle
C++: Dutch National Flag Problem

The Dutch national flag is composed of three coloured bands in the order red then white and lastly blue. The problem posed by Edsger Dijkstra is:

Continue Reading

C++: Standard Error

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, error, log, logging, standard, standard error
C++: Standard Error

A common practice in computing is to send error messages to a different output stream than normal text console messages. The normal messages print

Continue Reading

C++: Identity Matrix

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, identity, identity matrix, matrix
C++: Identity Matrix

Build an identity matrix of a size known at runtime. An identity matrix is a square matrix, of size n × n, where the diagonal elements are all 1s,

Continue Reading

C++: For Loop

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, for loop, loop
C++: For Loop

“For” loops are used to make some block of code be iterated a number of times, setting a variable or parameter to a monotonically increasing integ

Continue Reading

Best Quant Questions

Posted on September 1, 2017October 9, 2017 by TFE Times
Posted in Q/ATagged best, quant, questions
Best Quant Questions

[pt_view id="dc61708919"]

Continue Reading

C++: Evaluate Binomial Coefficients

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged binomial coefficient, c, evaluate, s
C++: Evaluate Binomial Coefficients

This programming task, is to calculate ANY binomial coefficient. However, it has to be able to output , which is 10. This formula is recommended

Continue Reading

C++: Catch an Exception Thrown in a Nested Call

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged a, an, c, call, catch, cll, ctch, exception, exception handling, exceptions, in, n, nested, thrown
C++: Catch an Exception Thrown in a Nested Call

Show how to create a user-defined exception and show how to catch an exception raised from several nested calls away. Create two user-defined exc

Continue Reading

C++: Guess the Number With Feedback

Posted on September 1, 2017October 10, 2017 by TFE Times
Posted in C++ PuzzlesTagged feedback, guess, number, the, with
C++: Guess the Number With Feedback

The task is to write a game that follows the following rules: The computer will choose a number between given set limits and asks the player for

Continue Reading

C++: While Loops

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

Start an integer value at 1024. Loop while it is greater than 0. Print the value (with a newline) and divide it by two each time through the loop.

Continue Reading

C++ Full Course Lesson 8: If Statement

Posted on September 1, 2017October 9, 2017 by TFE Times
Posted in C++ VideosTagged 8, course, full, if statement, lesson
C++ Full Course Lesson 8: If Statement

https://www.youtube.com/watch?v=yEY8xlnarNo&index=8&list=PLAE85DE8440AA6B83

Continue Reading

Posts navigation

Older posts
Newer posts
Brandeis Business School
University of California Berkeley Master of Financial Engineering MFE Sideboard
University of California Irvine Leaderboard
output_8BgzjE
University of Maryland Masters of Economics Sideboard
University of Maryland Masters of Economics Sideboard
Click here
NYU Tandon School of Engineering Sideboard
  • A hand holds an amber bottle with a generic pale ale label showing strength and volume.

    How to Read a Beer Label

    November 10, 2026October 19, 2026 by TFE Times
  • Overhead illustration comparing an instructor with four snowboard learners and a separate instructor with one learner on two snow practice areas.

    Snowboarding Lessons Explained: Group vs. Private

    November 9, 2026October 26, 2026 by TFE Times
  • A warm mid-century office with wooden desks, staff working at typewriters, a rotary telephone, stacked forms, and a small white ceramic duck on the foreground desk.

    History of Aflac

    November 9, 2026September 19, 2026 by TFE Times
  • 2026 College Football Power Rankings Week 11: Georgia No. 1, Notre Dame No. 2, Utah No. 3, UCLA No. 4 and Miami No. 5, shown as helmets under stadium lights.

    2026 College Football Power Rankings — Week 11: Notre Dame Beats Miami as Georgia Holds No. 1

    November 9, 2026 by TFE Times
  • Best Restaurants in Detroit: 15 Standout Places to Eat — food and city collage

    Best Restaurants in Detroit: 15 Standout Places to Eat

    November 9, 2026October 17, 2026 by TFE Times
  • A three-person group ski lesson on the left and an individual lesson on the right of a spacious beginner area.

    Ski Lessons Explained: Group vs. Private Lessons

    November 9, 2026October 25, 2026 by TFE Times
  • 5 Ways Young Entrepreneurs Can Gain Practical Business Finance Skills

    November 9, 2026 by TFE Times
  • App-Based Car Rentals: Sorting Out Fault and Insurance

    November 9, 2026 by TFE Times
  • Illustrated history cover for the Chicago Bears

    History of the Chicago Bears: From Halas and the Staleys to the Monsters of the Midway

    November 9, 2026October 17, 2026 by TFE Times
  • A hand holds a steel shaker and strainer while pouring a pale citrus cocktail into a coupe at a teal-tiled preparation station.

    How Cocktails Are Made: The Basics

    November 9, 2026October 25, 2026 by TFE Times

Copyright © TFE Times, LLC. All Rights Reserved.

Terms of Service | Privacy Policy | Disclaimer

WordPress Theme : Eight Paper by 8Degree Themes