Skip to content
TFE Times

TFE Times

Business, Technology, and Culture

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

Tag: c

C++: Evaluate Binomial Coefficients

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged binomial coefficient, c, evaluate, s
C++: Evaluate Binomial Coefficients

This programming task, is to calculate ANY binomial coefficient. However, it has to be able to output , which is 10. This formula is recommended

Continue Reading

C++: Catch an Exception Thrown in a Nested Call

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged a, an, c, call, catch, cll, ctch, exception, exception handling, exceptions, in, n, nested, thrown
C++: Catch an Exception Thrown in a Nested Call

Show how to create a user-defined exception and show how to catch an exception raised from several nested calls away. Create two user-defined exc

Continue Reading

C++: Copy and Swap

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged and, c, copy, swap
C++: Copy and Swap

The copy-and-swap idiom identifies that we can implement a classes copy/move assignment operators in terms of its copy/move constructor and achieve st

Continue Reading

C++: Arena Storage Pool

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged arena, c, pool, Storage
C++: Arena Storage Pool

Dynamically allocated objects take their memory from a heap. The memory for an object is provided by an allocator which maintains the storage pool use

Continue Reading

C++: While Loops

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, loop, loops, s, while
C++: While Loops

Start an integer value at 1024. Loop while it is greater than 0. Print the value (with a newline) and divide it by two each time through the loop.

Continue Reading

C++: Magic Squares of Odd Order

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, magic square, odd, of, order, s
C++: Magic Squares of Odd Order

A magic square is an square matrix whose numbers (usually integers) consist of consecutive numbers arranged so that the sum of each row and column, a

Continue Reading

C++: Loop Breaks

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged break, c, loop, loops, s
C++: Loop Breaks

Show a loop which prints random numbers (each number newly generated each loop) from 0 to 19 (inclusive). If a number is 10, stop the loop after print

Continue Reading

C++: Black Scholes Call Option Theta

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

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

Continue Reading

C++: Pascal’s Triangle

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, pascals, triangle
C++: Pascal’s Triangle

The task is to print out the first 15 Catalan numbers by extracting them from Pascal's triangle. This enables calculation of Catalan Numbers using onl

Continue Reading

C++: Forest Fire

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged Applied Mathematics, automaton, c, cell, fire, forest, forest fire model
C++: Forest Fire

Implement the Drossel and Schwabl definition of the forest-fire model. It is basically a 2D cellular automaton where each cell can be in three dist

Continue Reading

Posts navigation

Older posts
Newer posts
NYU Tandon School of Engineering Sideboard
Click here
Brandeis Business School
University of California Berkeley Master of Financial Engineering MFE Sideboard
University of California Irvine Leaderboard
output_8BgzjE
  • The Top Followed Gen Z Influencers on Instagram

    February 9, 2026October 5, 2025 by TFE Times
  • The States With The Most Doctors

    February 8, 2026October 5, 2025 by TFE Times
  • Teen Vapes By State

    February 7, 2026October 5, 2025 by TFE Times
  • U.S. States With The Highest Credit Card Debt

    February 6, 2026October 5, 2025 by TFE Times
  • How Online Casino Regulation Redefined the Industry

    February 5, 2026 by TFE Times
  • Three Factors That Are Dragging Down The U.S. Dollar

    February 5, 2026October 5, 2025 by TFE Times
  • wordpress

    Best Ways to Convert PDF to Word for Contracts: Enterprise Tools Reviewed

    February 4, 2026 by TFE Times
  • Millionaire Wealth Migration

    February 4, 2026October 5, 2025 by TFE Times
  • Corporate Penalties

    February 3, 2026October 5, 2025 by TFE Times
  • How Data and Strategy Combine to Drive Smarter Campaigns

    February 2, 2026February 2, 2026 by TFE Times

Copyright © TFE Times, LLC. All Rights Reserved.

Terms of Service | Privacy Policy | Disclaimer

WordPress Theme : Eight Paper by 8Degree Themes