Skip to content
TFE Times

TFE Times

Business, Technology, and Culture

RPI Leaderboard
University of California Irvine Leaderboard
MAFI_728x90
Click here
University of Maryland Masters of Economics  Leaderboard
Click here
University of California Irvine Leaderboard
Brandeis University Master of Finance Leaderboard 728x90
Click here
MAFI_728x90
NYU Tandon School of Engineering Leaderboard
University of Maryland Masters of Economics Leaderboard
  • Business
  • Culture
    • Beer Guide
    • Cheese Guide
    • Cigar Guide
    • Coffee Guide
    • Wine Guide
  • 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++: Draw a Clock

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged a, c, clock, draw, drw, graphics

Task: draw a clock. More specific: Draw a time keeping device. It can be a stopwatch, hourglass, sundial, a mouth counting "one thousand an

Continue Reading

C++: Create an Object at a Given Address

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged a, address, an, at, c, create, crete, ddress, given, n, object, t
C++: Create an Object at a Given Address

In systems programing it is sometimes required to place language objects at specific memory locations, like I/O registers, hardware interrupt vectors

Continue Reading

C++: Black Scholes Put Option Rho

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

// Calculate the Black Scholes European put option Rho double BS_Put_Option_Rho(double S, double K, double r, double v, double T) // Parameters

Continue Reading

C++: Foreach Loop

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, foreach, loop
C++: Foreach Loop

Loop through and print each element in a collection in order. Use your language's "for each" loop if it has one, otherwise iterate through the collect

Continue Reading

C++: Kaprekar Numbers

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, kaprekar, kaprekar numbers, numbers
C++: Kaprekar Numbers

A positive integer is a Kaprekar number if: It is 1 The decimal representation of its square may be split once into two parts consisting of po

Continue Reading

C++: Greyscale Bars

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged bars, c, grayscale, greyscale, greyscale bars
C++: Greyscale Bars

The task is to display a series of vertical greyscale bars (contrast bars) with a sufficient number of bars to span the entire width of the display.

Continue Reading

C++: Loop Continue

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

Show the following output using one loop. 1, 2, 3, 4, 5 6, 7, 8, 9, 10 Try to achieve the result by forcing the next iteration within the loop up

Continue Reading

C++: Exceptions

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, exception, exception handling, exceptions, s
C++: Exceptions

This task is to give an example of an exception handling routine and to "throw" a new exception. C++ has no finally construct. Instead you can do t

Continue Reading

C++: Count in Factors

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, count, factors, in
C++: Count in Factors

Write a program which counts up from 1, displaying each number as the multiplication of its prime factors. For the purpose of this task, 1 may be show

Continue Reading

C++: Environment Variables

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, environment variables
C++: Environment Variables

Show how to get one of your process's environment variables. The available variables vary by system; some of the common ones available on Unix include

Continue Reading

Posts navigation

Older posts
Newer posts
output_8BgzjE
University of Maryland Masters of Economics Sideboard
Click here
Brandeis Business School
NYU Tandon School of Engineering Sideboard
University of Maryland Masters of Economics Sideboard
University of California Berkeley Master of Financial Engineering MFE Sideboard
University of California Irvine Leaderboard
  • Paired illustrative Arabica and Robusta coffee branches with red cherries, glossy leaves and green coffee seeds.

    Arabica vs. Robusta: What’s the Difference?

    October 30, 2026October 24, 2026 by TFE Times
  • A warm, dim box-office counter with a mechanical ticket device, paper roll, and road case transitions through venue railings to a cool-lit arena entrance, contactless scanner, crowded concert floor, and illuminated stage.

    History of Live Nation Entertainment

    October 29, 2026September 19, 2026 by TFE Times
  • Best Restaurants in Lubbock: 15 Standout Places to Eat — food and city collage

    Best Restaurants in Lubbock: 15 Standout Places to Eat

    October 29, 2026October 16, 2026 by TFE Times
  • How cloud contact platforms improve client response times

    October 29, 2026 by TFE Times
  • Illustrated history cover for the Washington Commanders

    History of the Washington Commanders: From Boston Beginnings to Washington’s Five Championship Seasons

    October 29, 2026October 17, 2026 by TFE Times
  • An unlit leaf-wrapped cigar and a white-paper filtered cigarette in separate parallel channels on a cool grey specimen bench.

    Cigars vs. Cigarettes: Understanding the Important Differences

    October 29, 2026October 24, 2026 by TFE Times
  • A split-era office scene shows a nineteenth-century agent passing a leather folio to a family across a wooden desk, transitioning into a modern financial consultation with a couple beside large windows overlooking a city skyline.

    History of Securian Financial Group

    October 28, 2026September 19, 2026 by TFE Times
  • Best Restaurants in Washington: 15 Standout Places to Eat — food and city collage

    Best Restaurants in Washington DC: 15 Standout Places to Eat

    October 28, 2026October 17, 2026 by TFE Times
  • Illustrated history cover for the Philadelphia Eagles

    History of the Philadelphia Eagles: From Early NFL Champions to Two Super Bowl Victories

    October 28, 2026October 17, 2026 by TFE Times
  • A cheesemaker in a white coat, hair covering and gloves cuts curds with a wire harp in a stainless steel dairy vat.

    How Cheese Is Made: From Milk to Finished Wheel

    October 28, 2026October 19, 2026 by TFE Times

Copyright © TFE Times, LLC. All Rights Reserved.

Terms of Service | Privacy Policy | Disclaimer

WordPress Theme : Eight Paper by 8Degree Themes