Skip to content
TFE Times

TFE Times

Business, Technology, and Culture

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

Category: C++

C++: Happy Numbers

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, happy, happy number, happy numbers, numbers
C++: Happy Numbers

From Wikipedia, the free encyclopedia: A happy number is defined by the following process. Starting with any positive integer, replace the number

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

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

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

Free C++ Books

Posted on September 1, 2017April 2, 2018 by TFE Times
Posted in C++Tagged books, c, free
Free C++ Books

1. Fundamentals of Programming C++ (Richard L. Halterman) 2. C++ Annotations (Frank B. Brokken) 3. The C++ Hackers Guide (Steve Oualline)

Continue Reading

C++: Random Number Generator

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, generator, random number
C++: Random Number Generator

Rule 30 is considered to be chaotic enough to generate good pseudo-random numbers. As a matter of fact, rule 30 is used by the Mathematica software fo

Continue Reading

C++: Apply a Callback to an Array

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged a, an, apply, array, c, callback, cllbck, n, pply, rry, to
C++: Apply a Callback to an Array

In this task, the goal is to take a combined set of elements and apply a function to each element. C-style Array: #include <iostream> //

Continue Reading

Posts navigation

Older posts
Newer posts
Brandeis Business School
University of California Irvine Leaderboard
NYU Tandon School of Engineering Sideboard
Click here
output_8BgzjE
University of California Berkeley Master of Financial Engineering MFE Sideboard
  • America’s Largest Defense Contractors

    October 22, 2025June 27, 2025 by TFE Times
  • The Most Popular Baby Boy Names In The Last Century

    October 21, 2025June 27, 2025 by TFE Times
  • How Much Caffeine Is In Your Drink?

    October 20, 2025June 27, 2025 by TFE Times
  • The Rise Of Labubu

    October 19, 2025October 14, 2025 by TFE Times
  • Poverty Rates In America

    October 18, 2025October 20, 2025 by TFE Times
  • AI Innovation Across The Globe

    October 17, 2025June 27, 2025 by TFE Times
  • When Speed Matters: Evaluating Fast Loan Options Without Overspending

    October 16, 2025 by TFE Times
  • Unlock Financial Freedom: The Habits, Tools, and Accounts That Help You Get There

    October 16, 2025 by TFE Times
  • Semaglutide: a Versatile GLP-1 Peptide with Expanding Roles in Research

    October 16, 2025 by TFE Times
  • A Complete Review of Unit4 in 2025

    October 16, 2025 by TFE Times

Copyright © TFE Times, LLC. All Rights Reserved.

Terms of Service | Privacy Policy | Disclaimer

WordPress Theme : Eight Paper by 8Degree Themes