Skip to content
TFE Times

TFE Times

Business, Technology, and Culture

Brandeis University Master of Finance Leaderboard 728x90
MAFI_728x90
Click here
University of California Irvine Leaderboard
University of Maryland Masters of Economics Leaderboard
University of Maryland Masters of Economics  Leaderboard
NYU Tandon School of Engineering Leaderboard
Click here
Click here
MAFI_728x90
RPI Leaderboard
University of California Irvine 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
  • WSET
    • WSET Level 1 Beer
    • WSET Level 2 Beer
    • WSET Level 1 Sake
    • WSET Level 2 Sake
    • WSET Level 3 Sake
    • WSET Level 1 Spirits
    • WSET Level 2 Spirits
    • WSET Level 3 Spirits
    • WSET Level 1 Wine
    • WSET Level 2 Wine
    • WSET Level 3 Wine
    • WSET Level 4 Wine

Category: C++

C++: Bresenham’s Line Algorithm

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged algorithm, bresenhams, c, Line
C++: Bresenham’s Line Algorithm

Using the data storage type defined on this page for raster graphics images, draw a line given 2 points with the Bresenham's line algorithm. void

Continue Reading

C++: Abstract Type

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged abstract, c, type
C++: Abstract Type

Abstract type is a type without instances or without definition. For example in object-oriented programming using some languages, abstract types ca

Continue Reading

C++: Why is one loop so much slower than two loops?

Posted on September 1, 2017November 7, 2026 by TFE Times
Posted in C++Tagged c, is, loop, loops, much, one, s, slower, so, than, two, why
C++: Why is one loop so much slower than two loops?

Suppose a1, b1, c1, and d1 point to heap memory and my numerical code has the following core loop. const int n=100000 for(int j=0;j<n;j++){

Continue Reading

C++: Matrix Multiplication

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, matrices, matrix, matrix multiplication, multiplication, multiply
C++: Matrix Multiplication

Multiply two matrices together. They can be of any dimensions, so long as the number of columns of the first matrix is equal to the number of rows of

Continue Reading

C++ Binary Search Trees

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged binary, c, search, trees
C++ Binary Search Trees

[pt_view id="3a985d76d6"]

Continue Reading

C++: Arithmetic Evaluation

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged arithmetic, c, evaluation
C++: Arithmetic Evaluation

Create a program which parses and evaluates arithmetic expressions. Requirements An abstract-syntax tree (AST) for the expression must

Continue Reading

Crash Course in C++

Posted on September 1, 2017October 9, 2017 by TFE Times
Posted in C++Tagged crash course, in, learning, lesson, tutorial
Crash Course in C++

C++ is a systems programming language that, according to its inventor Bjarne Stroustrup, was designed to be a “better C” support data abst

Continue Reading

C++: Least Common Multiple

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, lcm, least common multiple
C++: Least Common Multiple

Compute the least common multiple of two integers. Given m and n, the least common multiple is the smallest positive integer that has both m and n

Continue Reading

C++: Modular Inverse

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, inverse, modular, modular inverse
C++: Modular Inverse

From Wikipedia: In modular arithmetic, the modular multiplicative inverse of an integer a modulo m is an integer x such that

Continue Reading

C++: Empty Directory

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, directory, empty, path
C++: Empty Directory

Starting with a path to some directory, determine whether the directory is empty. An empty directory contains no files nor subdirectories. With Uni

Continue Reading

Posts navigation

Older posts
Newer posts
University of California Irvine Leaderboard
University of Maryland Masters of Economics Sideboard
University of Maryland Masters of Economics Sideboard
output_8BgzjE
University of California Berkeley Master of Financial Engineering MFE Sideboard
Click here
NYU Tandon School of Engineering Sideboard
Brandeis Business School
  • An instructor pointing out the ankle area beside a learner standing on skis during a beginner lesson.

    The Most Common Beginner Skiing Mistakes and How to Fix Them

    November 20, 2026October 25, 2026 by TFE Times
  • Global Senior Populations

    November 20, 2026November 6, 2026 by TFE Times
  • Thanksgiving Air Travel

    November 20, 2026November 6, 2026 by TFE Times
  • Portafilter, tamper, scale, gooseneck kettle, paper filters and cupping spoon arranged on a terracotta workbench.

    Common Coffee Terms Explained: A Beginner’s Glossary

    November 20, 2026October 24, 2026 by TFE Times
  • Conceptual close-up of a snowboard's dark base and steel edge contacting a small raised ripple of snow in warm side light.

    Why Snowboarders Catch an Edge—and How to Reduce the Risk

    November 19, 2026October 26, 2026 by TFE Times
  • Wide landscape showing a shadowed glass office tower at left, an oil pumpjack in the center, and a drilling rig at right above a cutaway of a curved horizontal well and branching fractures in layered rock.

    History of EOG Resources

    November 19, 2026September 19, 2026 by TFE Times
  • Best Restaurants in Los Angeles: 15 Standout Places to Eat — illustrative editorial food collage

    Best Restaurants in Los Angeles: 15 Standout Places to Eat

    November 19, 2026October 17, 2026 by TFE Times
  • Two helmeted skiers pausing to assess an open groomed slope before descending.

    How to Ski Steeper Slopes Without Losing Control

    November 19, 2026October 25, 2026 by TFE Times
  • What a Child Custody Lawyer Reviews Before a Parenting Hearing

    November 19, 2026 by TFE Times
  • King Billy Casino Australia: 5,000 Games, A$2,500 Bonus and Crypto Banking

    November 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