Skip to content
TFE Times

TFE Times

Business, Technology, and Culture

University of Maryland Masters of Economics Leaderboard
Brandeis University Master of Finance Leaderboard 728x90
Click here
MAFI_728x90
University of California Irvine Leaderboard
NYU Tandon School of Engineering Leaderboard
Click here
MAFI_728x90
Click here
University of Maryland Masters of Economics  Leaderboard
University of California Irvine Leaderboard
RPI 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++: Why does changing 0.1f to 0 slow down performance by 10x?

Posted on September 1, 2017July 14, 2018 by TFE Times
Posted in C++Tagged 01f, 10x, by, c, changing, does, down, performance, slow, to, why
C++: Why does changing 0.1f to 0 slow down performance by 10x?

Why does this bit of code, const float x[16] = { 1.1, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7, 1.8, 1.9, 2.0, 2.1,

Continue Reading

C++: Black Scholes Call Option Gamma

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged black, c, call, gamma, option, scholes
C++: Black Scholes Call Option Gamma

// Calculate the Black Scholes European call option Gamma double BS_Call_Option_Gamma(double S, double K, double r, double v, double T) // Para

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++: 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++: 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++: 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

C++: Insertion Sort

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, insertion, sort
C++: Insertion Sort

#include <algorithm> template<class Iterator> void insertion_sort( Iterator a, Iterator end ) { std::iter_swap( a, std::min_ele

Continue Reading

Posts navigation

Older posts
Newer posts
University of California Irvine Leaderboard
NYU Tandon School of Engineering Sideboard
Brandeis Business School
output_8BgzjE
University of California Berkeley Master of Financial Engineering MFE Sideboard
University of Maryland Masters of Economics Sideboard
Click here
University of Maryland Masters of Economics Sideboard
  • 11 Top Idaho Vacation Rental Platforms for Your 2026 Getaway

    July 24, 2026 by TFE Times
  • The History of the 3-Wood: Golf’s Original Long-Range Utility Club

    July 24, 2026July 13, 2026 by TFE Times
  • Financial Tools That Make Big Life Decisions Easier

    July 23, 2026 by TFE Times
  • Red Wine vs White Wine: What’s the Difference?

    July 23, 2026July 13, 2026 by TFE Times
  • Top 10 Golf Courses in Kansas City

    July 22, 2026 by TFE Times
  • How an Employment Lawyer Helps Workers Fight Discrimination Cases

    July 22, 2026 by TFE Times
  • Purchasing Power Of The U.S. Dollar

    July 22, 2026December 30, 2025 by TFE Times
  • How Protein Fragmentation Affects Absorption and Functional Activity

    July 21, 2026 by TFE Times
  • The Growing Demand for Fast-Acting CBD Formats

    July 21, 2026 by TFE Times
  • Why Texture and Flavor Matter in Premium Cannabis Gummies

    July 21, 2026 by TFE Times

Copyright © TFE Times, LLC. All Rights Reserved.

Terms of Service | Privacy Policy | Disclaimer

WordPress Theme : Eight Paper by 8Degree Themes