Skip to content
TFE Times

TFE Times

Business, Technology, and Culture

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

Category: C++

C++: Fractal Tree

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, fractal, fractal tree, graphics, tree
C++: Fractal Tree

Generate and draw a fractal tree. To draw a fractal tree is simple: Draw the trunk At the end of the trunk, split by some angle and draw tw

Continue Reading

C++: Binary Digits

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged binary, c, digits
C++: Binary Digits

The task is to output the sequence of binary digits for a given non-negative integer. The decimal value 5, should produce an output of 101 The deci

Continue Reading

C++: Maximum Triangle Path Sum

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, maximum, maximum path, path, sum, triangle
C++: Maximum Triangle Path Sum

Starting from the top of a pyramid of numbers like this, you can walk down going one step on the right or on the left, until you reach the bottom row:

Continue Reading

C++: File Input/Output

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, file, files, inputoutput
C++: File Input/Output

In this task, the job is to create a file called "output.txt", and place in it the contents of the file "input.txt", via an intermediate variable. In

Continue Reading

C++: Continued Fraction

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, continued, fraction
C++: Continued Fraction

A number may be represented as a continued fraction (see Mathworld for more information) as follows: The task is to write a program which gen

Continue Reading

C++: Infinity

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

Write a function which tests if infinity is supported for floating point numbers (this step should be omitted for languages where the language specifi

Continue Reading

C++: Execute Only Part of Loop

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, execute, loop, loops, of, only, part
C++: Execute Only Part of Loop

Quite often one needs loops which, in the last iteration, execute only part of the loop body. The goal of this task is to demonstrate the best way to

Continue Reading

C++: Entropy

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

Calculate the information entropy (Shannon entropy) of a given input string. Entropy is the expected value of the measure of information content in

Continue Reading

C++: Digital Root

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, digital, Root
C++: Digital Root

The digital root, X, of a number, n, is calculated: find X as the sum of the digits of n find a new X by summing the digits of X, repeating un

Continue Reading

C++: Character Codes

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, character, codes
C++: Character Codes

Given a character value in your language, print its code (could be ASCII code, Unicode code, or whatever your language uses). For example, the char

Continue Reading

Posts navigation

Older posts
Newer posts
University of California Berkeley Master of Financial Engineering MFE Sideboard
output_8BgzjE
NYU Tandon School of Engineering Sideboard
University of California Irvine Leaderboard
Click here
Brandeis Business School
  • The Cost Of Internet

    March 17, 2026October 14, 2025 by TFE Times
  • greece

    Slotshub — Your New Choice Among Online Casinos In Greece

    March 16, 2026 by TFE Times
  • The Age Of Every Democratic Senator

    March 16, 2026October 14, 2025 by TFE Times
  • The Most Underemployed College Degrees In America

    March 15, 2026October 14, 2025 by TFE Times
  • The U.S. Consumer Balance Sheet

    March 14, 2026October 14, 2025 by TFE Times
  • Why Gransino Casino continues to gain popularity in 2026

    March 13, 2026 by TFE Times
  • How does PlayCroco’s support service work?

    March 13, 2026 by TFE Times
  • Countries Where You Can Purchase Citizenship

    March 13, 2026October 14, 2025 by TFE Times
  • Student Loan Debt In America

    March 12, 2026October 14, 2025 by TFE Times
  • Who Goes To The Dentist?

    March 11, 2026October 14, 2025 by TFE Times

Copyright © TFE Times, LLC. All Rights Reserved.

Terms of Service | Privacy Policy | Disclaimer

WordPress Theme : Eight Paper by 8Degree Themes