Skip to content
TFE Times

TFE Times

Business, Technology, and Culture

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

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged a, c, element, greatest, gretest, list, max, of
C++: Greatest Element of a List

Create a function that returns the maximum value in a provided set of values, where the number of values may not be known until runtime. This will

Continue Reading

C++: Dot Product

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, dot, product
C++: Dot Product

Create a function/use an in-built function, to compute the dot product, also known as the scalar product of two vectors. If possible, make the vectors

Continue Reading

C++: Ethiopian Multiplication

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, ethiopian, multiplication
C++: Ethiopian Multiplication

A method of multiplying integers using only addition, doubling, and halving. Method: Take two numbers to be multiplied and write them down at

Continue Reading

C++: Accumulator Factory

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged accumulator, c, factory
C++: Accumulator Factory

A problem posed by Paul Graham is that of creating a function that takes a single (numeric) argument and which returns another function that is an acc

Continue Reading

C++: Exponentiation Operator

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, exponentiation, operator
C++: Exponentiation Operator

Most all programming languages have a built-in implementation of exponentiation. Re-implement integer exponentiation for both intint and floatint as b

Continue Reading

C++: Infinite Loops

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

Specifically print out "SPAM" followed by a newline in an infinite loop. while (true) std::cout << "SPAM" << std::endl; or

Continue Reading

C++: Median

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, median
C++: Median

Write a program to find the median value of a vector of floating-point numbers. The program need not handle the case where the vector is empty, but mu

Continue Reading

C++: First-Class Functions

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, first class function, firstclass, firtcla, function, functions, s
C++: First-Class Functions

A language has first-class functions if it can do each of the following without recursively invoking a compiler or interpreter or otherwise metaprogra

Continue Reading

C++: Image Noise

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, image noise, noise, white noise
C++: Image Noise

Generate a random black and white 320x240 image continuously, showing FPS (frames per second). Sample image: #include <windows.h> #

Continue Reading

C++: Construct from Rational Number

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, construct, from, number, rational
C++: Construct from Rational Number

To understand this task in context please see Continued fraction arithmetic The purpose of this task is to write a function r2cf(int N1,int N2), or

Continue Reading

Posts navigation

Older posts
Newer posts
University of California Irvine Leaderboard
University of California Berkeley Master of Financial Engineering MFE Sideboard
output_8BgzjE
Brandeis Business School
Click here
University of Maryland Masters of Economics Sideboard
NYU Tandon School of Engineering Sideboard
University of Maryland Masters of Economics Sideboard
  • 2026 College Football Power Rankings Week 4: Texas No. 1, Ole Miss Surges

    September 22, 2026 by TFE Times
  • How To Understand Statutory Holiday Pay Entitlements

    September 22, 2026 by TFE Times
  • A vintage white box truck stands outside a palm-lined garage, followed by a larger truck being serviced and a modern tractor-trailer near warehouse loading docks.

    History of Ryder System

    September 22, 2026September 13, 2026 by TFE Times
  • Best Restaurants in Cocoa Beach, Florida: 15 Standout Places to Eat — illustrative food collage

    Best Restaurants in Cocoa Beach: 15 Standout Places to Eat

    September 22, 2026September 20, 2026 by TFE Times
  • Price And Rent Changes Across Major Cities

    September 22, 2026June 20, 2026 by TFE Times
  • Two limestone-colored architectural models on a neutral surface: a broad classical rectangular high-rise beside a smaller stepped skyscraper form, both casting long shadows.

    History of Equitable Holdings

    September 21, 2026September 13, 2026 by TFE Times
  • Best Restaurants in Gainesville, Florida: 15 Standout Places to Eat — illustrative food collage

    Best Restaurants in Gainesville: 15 Standout Places to Eat

    September 21, 2026September 21, 2026 by TFE Times
  • The Income Needed To Join The Top 1%

    September 21, 2026June 20, 2026 by TFE Times
  • Roman-inspired hotel and casino buildings with columns, pediments, statues, and palm trees beside a broad paved drive at golden hour.

    History of Caesars Entertainment

    September 20, 2026September 13, 2026 by TFE Times
  • Best Restaurants in Amelia Island, Florida: 15 Standout Places to Eat — illustrative food collage

    Best Restaurants in Amelia Island: 15 Standout Places to Eat

    September 20, 2026September 20, 2026 by TFE Times

Copyright © TFE Times, LLC. All Rights Reserved.

Terms of Service | Privacy Policy | Disclaimer

WordPress Theme : Eight Paper by 8Degree Themes