Skip to content
TFE Times

TFE Times

Business, Technology, and Culture

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

C++: Higher-Order Functions

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged argument, c, function, higher order function, higherorder, pointer, s
C++: Higher-Order Functions

Pass a function as an argument to another function. Function Pointer Works with: g++ version 3.4.2 (mingw-special) C++ can pass function pointers i

Continue Reading

C++: Look-and-Say Sequence

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, john conway, look and say, lookandsay, sequence
C++: Look-and-Say Sequence

The Look and say sequence is a recursively defined sequence of numbers studied most notably by John Conway. Sequence Definition Take a decimal

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++: Simple Moving Average

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged average, c, moving, simple
C++: Simple Moving Average

Computing the simple moving average of a series of numbers. The task is to: Create a stateful function/class/instance that takes a period and

Continue Reading

C++: Multifactorial

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, factorial, multi, multifactorial
C++: Multifactorial

The factorial of a number, written as n! is defined as n! = n(n − 1)(n − 2)...(2)(1) A generalization of this is the multifactorials where:

Continue Reading

Why Is Char[] Preferred Over String for Passwords?

Posted on September 1, 2017April 2, 2018 by TFE Times
Posted in C++Tagged char, for, is, over, passwords, preferred, string, why
Why Is Char[] Preferred Over String for Passwords?

In Swing, the password field has a getPassword() (returns char[]) method instead of the usual getText() (returns String) method. Similarly, I have com

Continue Reading

C++: GUI Component Interaction

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, component, components, display, graphics, gui, interaction, logic, visuals
C++: GUI Component Interaction

Almost every application needs to communicate with the user in some way. Therefore, a substantial part of the code deals with the interaction of progr

Continue Reading

C++: Root Mean Square

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, mean, Root, square
C++: Root Mean Square

Compute the Root mean square of the numbers 1..10. The root mean square is also known by its initial RMS (or rms), and as the quadratic mean. Th

Continue Reading

Posts navigation

Older posts
Newer posts
University of California Irvine Leaderboard
University of Maryland Masters of Economics Sideboard
Brandeis Business School
Click here
University of California Berkeley Master of Financial Engineering MFE Sideboard
output_8BgzjE
NYU Tandon School of Engineering Sideboard
University of Maryland Masters of Economics Sideboard
  • Best Restaurants in Raleigh: 15 Standout Places to Eat — food and city collage

    Best Restaurants in Raleigh: 15 Standout Places to Eat

    October 30, 2026October 16, 2026 by TFE Times
  • What The Top 1% Pays In Taxes Across The U.S.

    October 30, 2026October 17, 2026 by TFE Times
  • 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

Copyright © TFE Times, LLC. All Rights Reserved.

Terms of Service | Privacy Policy | Disclaimer

WordPress Theme : Eight Paper by 8Degree Themes