Skip to content
TFE Times

TFE Times

Business, Technology, and Culture

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

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, puzzlesgames
C++ Puzzles/Games

[pt_view id="fa2c5f1466"]

Continue Reading

C++: Downward For Loop

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, downward, for loop, loop
C++: Downward For Loop

Write a for loop which writes a countdown from 10 to 0. for(int i = 10; i >= 0; --i) std::cout << i << "\n"; SOURCE Con

Continue Reading

C++: Delegate Behavior to Derived Classes

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged behavior, c, classes, delegate, derived, to
C++: Delegate Behavior to Derived Classes

INTENT Delegate behavior to derived classes without incurring the cost of run-time polymorphism. DESCRIPTION With the Curiously Recurring Tem

Continue Reading

C++: Binary Search Tree Verification

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged binary, c, search, tree, verification
C++: Binary Search Tree Verification

struct TreeNode { int data; TreeNode *left; TreeNode *right; }; bool isBST(TreeNode *node, int minData, int maxData) { if(node == NULL

Continue Reading

C++: Euler Method

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, differential equation, euler method, initial value problem, IVP, ODE
C++: Euler Method

Euler's method numerically approximates solutions of first-order ordinary differential equations (ODEs) with a given initial value. It is an explicit

Continue Reading

C++: Catalan Numbers

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

Catalan numbers are a sequence of numbers which can be defined directly: Or recursively: Or alternatively (also recursive):

Continue Reading

C++: Generate Random Number in Range

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, generate, in, number, random, range
C++: Generate Random Number in Range

int random_in_range(int a, int b) //Function that returns a random integer between 2 provided integers { return a + random() % (b-a+1); }

Continue Reading

C++: Determine if Only One Instance Is Running

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, determine, if, instance, is, one, only, running
C++: Determine if Only One Instance Is Running

This task is to determine if there is only one instance of an application running. If the program discovers that an instance of it is already running,

Continue Reading

C++: Find Common Directory Path

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, common, directory, file, find, path
C++: Find Common Directory Path

Create a routine that, given a set of strings representing directory paths and a single character directory separator, will return a string representi

Continue Reading

C++: Iterated Digits Squaring

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, digits, iterated, squaring
C++: Iterated Digits Squaring

If you add the square of the digits of a Natural number (an integer bigger than zero), you always end with either 1 or 89: 15 -> 26 -> 40 ->

Continue Reading

Posts navigation

Older posts
Newer posts
University of Maryland Masters of Economics Sideboard
Brandeis Business School
University of California Berkeley Master of Financial Engineering MFE Sideboard
NYU Tandon School of Engineering Sideboard
output_8BgzjE
Click here
University of California Irvine Leaderboard
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