Skip to content
TFE Times

TFE Times

Business, Technology, and Culture

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

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, factorial, factorials, sequence
C++: Factorial

The Factorial Function of a positive integer, n, is defined as the product of the sequence n, n-1, n-2, ...1 and the factorial of zero, 0, is defined

Continue Reading

C++ String Algorithms

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged algorithms, c, string
C++ String Algorithms

[pt_view id="ce50e34ece"]

Continue Reading

C++: Fibonacci N-Step Number Sequences

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, equence, fibonacci, nstep, ntep, number, s, sequence
C++: Fibonacci N-Step Number Sequences

These number series are an expansion of the ordinary Fibonacci sequence where: For n = 2 we have the Fibonacci sequence; with initial values [1,1

Continue Reading

C++: Bitwise Operations

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged bitwise, c, operations
C++: Bitwise Operations

Write a routine to perform a bitwise AND, OR, and XOR on two integers, a bitwise NOT on the first integer, a left shift, right shift, right arithmetic

Continue Reading

C++: Array Concatenation

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged array, c, concatenation
C++: Array Concatenation

Show how to concatenate two arrays in your language. If this is as simple as array1 + array2, so be it. #include <vector> #include <ios

Continue Reading

C++: Integer Literals

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, integer, integers, literal, literals, s
C++: Integer Literals

Some programming languages have ways of expressing integer literals in bases other than the normal base ten. Show how integer literals can be expre

Continue Reading

C++: Black Scholes Call Option Vega

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

// Calculate the Black Scholes European call option Vega double BS_Call_Option_Vega(double S, double K, double r, double v, double T) // Parame

Continue Reading

C++: Fork

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, fork, process
C++: Fork

In this task, the goal is to spawn a new process which can run simultaneously with, and independently of, the original parent process. #include<

Continue Reading

C++: Dragon Curve

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, curve, dragon, fractal

Create and display a dragon curve fractal. (You may either display the curve directly or write it to an image file.) This program will generate

Continue Reading

C++: Copy a Range of Elements

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged a, c, copy, elements, of, range, rnge
C++: Copy a Range of Elements

On line 7, we create a std::vector<int> called source containing a sequence of values that we wish to copy. On line 9, we have another std::v

Continue Reading

Posts navigation

Older posts
Newer posts
Brandeis Business School
NYU Tandon School of Engineering Sideboard
University of California Berkeley Master of Financial Engineering MFE Sideboard
University of California Irvine Leaderboard
output_8BgzjE
Click here
  • The Top Cities In The World By Reputation

    December 23, 2025July 24, 2025 by TFE Times
  • U.S. Home Prices Vs. Household Income

    December 22, 2025July 24, 2025 by TFE Times
  • What Jobs Are Safest From AI?

    December 21, 2025July 24, 2025 by TFE Times
  • America’s Mineral Supply

    December 20, 2025July 24, 2025 by TFE Times
  • American Job Cuts By Industry

    December 19, 2025November 28, 2025 by TFE Times
  • Countries With The Most Culture & Heritage

    December 18, 2025July 24, 2025 by TFE Times
  • The World’s Most Powerful Compute Clusters

    December 17, 2025July 24, 2025 by TFE Times
  • How Rare Earths Power U.S. Defense

    December 16, 2025July 24, 2025 by TFE Times
  • Which Countries Produce Their Own Food?

    December 15, 2025July 24, 2025 by TFE Times
  • Wage Growth By State

    December 14, 2025November 28, 2025 by TFE Times

Copyright © TFE Times, LLC. All Rights Reserved.

Terms of Service | Privacy Policy | Disclaimer

WordPress Theme : Eight Paper by 8Degree Themes