Skip to content
TFE Times

TFE Times

Business, Technology, and Culture

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

Category: C++

C++: Hostname

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, host, hostname, name, routine
C++: Hostname

Find the name of the host on which the routine is running. #include <stdlib.h> #include <stdio.h> #include <limits.h> #inclu

Continue Reading

C++: Multiplicative Digital Root

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, digital, Math, multiplicative, Root

The multiplicative digital root (MDR) and multiplicative persistence (MP) of a number, n, is calculated rather like the Digital root except digits are

Continue Reading

C++: Black Scholes Put Option Theta

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged black, c, option, put, scholes, theta
C++: Black Scholes Put Option Theta

// Calculate the Black Scholes European put option Theta double BS_Put_Option_Theta(double S, double K, double r, double v, double T) // Parame

Continue Reading

Why Is Subtracting These Two Times (In 1927) Giving a Strange Result?

Posted on September 1, 2017April 2, 2018 by TFE Times
Posted in C++Tagged 1927, a, giving, in, is, result, strange, strnge, subtracting, subtrctg, these, Times, two, why
Why Is Subtracting These Two Times (In 1927) Giving a Strange Result?

If I run the following program, which parses two date strings referencing times one second apart and compares them: public static void main(String[]

Continue Reading

C++: Sample Covariance

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, covariance, sample
C++: Sample Covariance

double sample_covariance(double A[], double B[], int length) // Function calculates the sample covariance the array A and array B, whose lengths

Continue Reading

C++: Calculate Geometric Mean

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, calculate, geometric, mean
C++: Calculate Geometric Mean

void Geometric_Mean_Array(double & mean_normal, const double * a, const int n) //Function that calculates the geometric mean (geometric avera

Continue Reading

C++: Create a File

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

In this task, the job is to create a new empty file called "output.txt" of size 0 bytes and an empty directory called "docs". This should be done twic

Continue Reading

C++: Hamming Numbers

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, hamming, hamming numbers, number, numerical, s
C++: Hamming Numbers

Hamming numbers are numbers of the form . Hamming numbers are also known as ugly numbers and also 5-smooth numbers   (numbers whose prime div

Continue Reading

C++: Multiple Inheritance

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, inheritance, multiple, multiple inheritance
C++: Multiple Inheritance

Multiple inheritance allows to specify that one class is a subclass of several other classes. Some languages allow multiple inheritance for arbitrary

Continue Reading

C++: Black Scholes Put Option Vega

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged black, c, option, put, scholes, vega
C++: Black Scholes Put Option Vega

// Calculate the Black Scholes European put option Vega double BS_Put_Option_Vega(double S, double K, double r, double v, double T) // Parameter

Continue Reading

Posts navigation

Older posts
Newer posts
NYU Tandon School of Engineering Sideboard
output_8BgzjE
Brandeis Business School
University of California Irvine Leaderboard
Click here
University of California Berkeley Master of Financial Engineering MFE Sideboard
  • How Wire Rope Lubricators Work

    September 30, 2025 by TFE Times
  • Free Play Lightning Link Slots Without Registration

    September 30, 2025 by TFE Times
  • U.S. Shipping Exports Slump

    September 30, 2025May 25, 2025 by TFE Times
  • The World’s Top 30 Economies

    September 29, 2025May 25, 2025 by TFE Times
  • Your Guide to Temple Injury Law and Personal Injury Claims

    September 28, 2025 by TFE Times
  • Thinking Long Term: How Protection Strategies Build Value Over Time

    September 28, 2025September 28, 2025 by TFE Times
  • African Trade: China Versus U.S.

    September 28, 2025May 25, 2025 by TFE Times
  • The Surging Of The Magnificent 7 Versus The S&P 500

    September 27, 2025May 25, 2025 by TFE Times
  • U.S. Industry Salaries

    September 26, 2025May 25, 2025 by TFE Times
  • Global Military Spending 2024

    September 25, 2025May 25, 2025 by TFE Times

Copyright © TFE Times, LLC. All Rights Reserved.

Terms of Service | Privacy Policy | Disclaimer

WordPress Theme : Eight Paper by 8Degree Themes