Skip to content
TFE Times

TFE Times

Business, Technology, and Culture

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

Tag: c

C++: Cycles in family tree software

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, cycles, family, in, software, tree
C++: Cycles in family tree software

I am the developer of some family tree software (written in C++ and Qt). I had no problems until one of my customers mailed me a bug report. The probl

Continue Reading

C++: Define a Primitive Data Type

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged a, c, data, define, dt, primitive, type
C++: Define a Primitive Data Type

Demonstrate how to define a type that behaves like an integer but has a lowest valid value of 1 and a highest valid value of 10. Include all bounds ch

Continue Reading

C++: Include a File

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged a, c, file, include
C++: Include a File

The task is to demonstrate the language's ability to include source code from other files. In C and C++, inclusion of other files is achieved via a

Continue Reading

C++: Function Composition

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, closure, function composition
C++: Function Composition

Create a function, compose, whose two arguments f and g, are both functions with one argument. The result of compose is to be a function of one argume

Continue Reading

C++: Closest-Pair Problem

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, closestpair, problem
C++: Closest-Pair Problem

The aim of this task is to provide a function to find the closest two points among a set of given points in two dimensions, i.e. to solve the Closest

Continue Reading

C++: Multiple Distinct Objects

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, data structure, distinct, multiple, object, objects, s
C++: Multiple Distinct Objects

Create a sequence (array, list, whatever) consisting of n distinct, initialized items of the same type. n should be determined at runtime. By disti

Continue Reading

C++: Anonymous Recursion

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged anonymous, c, recursion
C++: Anonymous Recursion

While implementing a recursive function, it often happens that we must resort to a separate "helper function" to handle the actual recursion. This

Continue Reading

C++: Compile-Time Calculation

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, calculation, compiletime
C++: Compile-Time Calculation

Some programming languages allow calculation of values at compile time. For this task, calculate 10! at compile time. Print the result when the progra

Continue Reading

C++: Hailstone Sequence

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, collatz conjecture, hailstone sequence
C++: Hailstone Sequence

The Hailstone sequence of numbers can be generated from a starting positive integer, n by: If n is 1 then the sequence ends. If n is even then

Continue Reading

C++: Check That File Exists

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, check, exists, file, that
C++: Check That File Exists

In this task, the job is to verify that a file called "input.txt" and the directory called "docs" exist. This should be done twice: once for the curre

Continue Reading

Posts navigation

Older posts
Newer posts
University of California Irvine Leaderboard
NYU Tandon School of Engineering Sideboard
University of California Berkeley Master of Financial Engineering MFE Sideboard
output_8BgzjE
Brandeis Business School
Click here
  • Future Electricity Usage By Country

    November 5, 2025June 27, 2025 by TFE Times
  • How Terrestrial Carbon Storage Works

    November 4, 2025June 27, 2025 by TFE Times
  • Navigating the Future: A Comprehensive AI Management Guide for Business Leaders

    November 3, 2025 by TFE Times
  • Smart Strategies Every Small Business Should Use to Manage Risk

    November 3, 2025 by TFE Times
  • 6 Key Steps in the O-1 Visa Application Process

    November 3, 2025 by TFE Times
  • small business

    The Small Business Funding Blueprint: How to Secure Money Without Losing Control

    November 3, 2025 by TFE Times
  • Global Inflation Projections

    November 3, 2025June 27, 2025 by TFE Times
  • Top Startup Cities In The World

    November 2, 2025June 27, 2025 by TFE Times
  • How Tariffs Will Affect US Car Prices

    November 1, 2025June 27, 2025 by TFE Times
  • Average Income Of A European Family

    October 31, 2025June 27, 2025 by TFE Times

Copyright © TFE Times, LLC. All Rights Reserved.

Terms of Service | Privacy Policy | Disclaimer

WordPress Theme : Eight Paper by 8Degree Themes