Skip to content
TFE Times

TFE Times

Business, Technology, and Culture

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

Tag: c

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

C++: Maze Generation

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, generation, maze
C++: Maze Generation

Generate and show a maze, using the simple Depth-first search algorithm. Start at a random cell. Mark the current cell as visited, and get a l

Continue Reading

C++: Merge Sort

Posted on September 1, 2017November 7, 2026 by TFE Times
Posted in C++Tagged c, merge, sort
C++: Merge Sort

#include <iostream> using namespace std; void merge(int a[], const int low, const int mid, const int high) { // Variables declarati

Continue Reading

C++: Swap Containers

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, containers, swap
C++: Swap Containers

On lines 7–8, we create two std::vectors and initialise them with values. On line 10, we swap the contents of the two std::vectors using the std:

Continue Reading

C++: Bubble Sort

Posted on September 1, 2017November 7, 2026 by TFE Times
Posted in C++Tagged bubble, c, sort
C++: Bubble Sort

#include <algorithm> template<typename Iterator> void bubbleSort(Iterator first, Iterator last) { Iterator i, j; for (i = fir

Continue Reading

C++: Benford’s Law

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged benfords, c, law
C++: Benford’s Law

Benford's law, also called the first-digit law, refers to the frequency distribution of digits in many (but not all) real-life sources of data. In thi

Continue Reading

C++: CSV Data Manipulation

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, csv, data, manipulation
C++: CSV Data Manipulation

CSV spreadsheet files are suitable for storing tabular data in a relatively portable way. The CSV format is flexible but somewhat ill-defined. For pre

Continue Reading

C++: Monte Carlo Methods

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, methods, Monte Carlo, simulation
C++: Monte Carlo Methods

A Monte Carlo Simulation is a way of approximating the value of a function where calculating the actual value is difficult or impossible. It uses ran

Continue Reading

C++: Brownian Tree

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged brownian, c, tree
C++: Brownian Tree

Generate and draw a Brownian Tree. A Brownian Tree is generated as a result of an initial seed, followed by the interaction of two processes.

Continue Reading

Posts navigation

Older posts
Newer posts
NYU Tandon School of Engineering Sideboard
University of California Irvine Leaderboard
University of Maryland Masters of Economics Sideboard
Click here
University of California Berkeley Master of Financial Engineering MFE Sideboard
University of Maryland Masters of Economics Sideboard
output_8BgzjE
Brandeis Business School
  • Two conceptual snow trays compare a narrow curved edge track with a broad brushed track.

    Carving vs. Skidding: What’s the Difference?

    November 22, 2026October 26, 2026 by TFE Times
  • Week 13 college football power rankings with helmets for No. 1 Georgia, No. 2 Utah, No. 3 Notre Dame, No. 4 Miami, and No. 5 Texas.

    2026 College Football Power Rankings — Week 13: Georgia Stays No. 1 as Miami and Texas Rise

    November 22, 2026 by TFE Times
  • Conceptual architectural model of a fictional courtyard framed by a terracotta arcade, a timber reading pavilion, and a pale stone building.

    What Is Architecture? A Beginner’s Guide

    November 22, 2026November 22, 2026 by TFE Times
  • The History of the 0-Iron: Golf’s Most Extreme Club

    November 22, 2026November 21, 2026 by TFE Times
  • Best Restaurants in Phoenix: 15 Standout Places to Eat — illustrative editorial food collage

    Best Restaurants in Phoenix: 15 Standout Places to Eat

    November 22, 2026October 17, 2026 by TFE Times
  • Narrow paired curved ski tracks beside a broader brushed turn mark in sunlit snow.

    Skidded Turns vs. Carved Turns: What’s the Difference?

    November 22, 2026November 22, 2026 by TFE Times
  • How to Read a Social Casino Coin Package Like a Price Sheet

    November 22, 2026 by TFE Times
  • A white golf ball beside a cup on a putting green, with a rolling fairway and trees beyond.

    What Is Golf? A Beginner’s Guide to the Game

    November 22, 2026November 22, 2026 by TFE Times
  • A coral-edged pickleball paddle and lime perforated ball beside a court net, with two recreational players softly blurred in the background.

    What Is Pickleball? A Beginner’s Guide to the Sport

    November 22, 2026November 22, 2026 by TFE Times
  • Whiskey production tools on a bench, including a measuring cylinder, hydrometer, grain scoop, wooden bung, copper cup and glass sampler.

    Common Whiskey Terms Explained

    November 22, 2026November 22, 2026 by TFE Times

Copyright © TFE Times, LLC. All Rights Reserved.

Terms of Service | Privacy Policy | Disclaimer

WordPress Theme : Eight Paper by 8Degree Themes