Skip to content
TFE Times

TFE Times

Business, Technology, and Culture

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

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, Equilibrium, index, sequence
C++: Equilibrium Index

An equilibrium index of a sequence is an index into the sequence such that the sum of elements at lower indices is equal to the sum of elements at hig

Continue Reading

C++: Even or Odd

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, even, odd, or
C++: Even or Odd

Test whether an integer is even or odd. There is more than one way to solve this task: Use the even and odd predicates, if the language provid

Continue Reading

C++: File Modification Time

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, file, file modification, files, modification, Time
C++: File Modification Time

This task will attempt to get and set the modification time of a file. #include <boost/filesystem/operations.hpp> #include <ctime> #i

Continue Reading

C++: Five Weekends

Posted on September 1, 2017October 10, 2017 by TFE Times
Posted in C++ PuzzlesTagged algorithm, calendar, date, five, weekends
C++: Five Weekends

The month of October in 2010 has five Fridays, five Saturdays, and five Sundays. The task Write a program to show all months that have this sa

Continue Reading

C++: Menu

Posted on September 1, 2017October 9, 2017 by TFE Times
Posted in C++ PuzzlesTagged menu
C++: Menu

Given a list containing a number of strings of which one is to be selected and a prompt string, create a function that: Print a textual menu form

Continue Reading

Best C Questions

Posted on September 1, 2017November 7, 2026 by TFE Times
Posted in C Questions, Q/ATagged best, c, questions
Best C Questions

[pt_view id="73f49b1b41"]

Continue Reading

C++: Display Color Bars

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged bars, c, color, display
C++: Display Color Bars

The task is to display a series of vertical color bars across the width of the display. The color bars should either use the system palette, or the se

Continue Reading

C++: Function Definition

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, definition, function, function definition, method
C++: Function Definition

A function is a body of code that returns a value. The value returned may depend on arguments provided to the function. Write a definition of a fun

Continue Reading

C++: Hello World Graphical

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, graphical, graphics, gui, hello world
C++: Hello World Graphical

In this User Output task, the goal is to display the string "Goodbye, World!" on a GUI object (alert box, plain window, text area, etc.). Library:

Continue Reading

C++: Long Multiplication

Posted on September 1, 2017October 9, 2017 by TFE Times
Posted in C++ PuzzlesTagged long, multiplication
C++: Long Multiplication

In this task, explicitly implement long multiplication. This is one possible approach to arbitrary-precision integer algebra. For output, display t

Continue Reading

Posts navigation

Older posts
Newer posts
University of Maryland Masters of Economics Sideboard
Click here
University of California Berkeley Master of Financial Engineering MFE Sideboard
output_8BgzjE
NYU Tandon School of Engineering Sideboard
University of California Irvine Leaderboard
University of Maryland Masters of Economics Sideboard
Brandeis Business School
  • 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