Skip to content
TFE Times

TFE Times

Business, Technology, and Culture

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

Category: C++

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

C++: Sort a Range of Elements

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged a, c, elements, of, range, rnge, sort
C++: Sort a Range of Elements

On line 8, we create a std::array of ints that we wish to sort. On line 10, we call the standard alrogithm std::sort, which sorts the range of elem

Continue Reading

C++: Swap Values

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

On lines 6–7, we create two std::string objects whose values we wish to swap. However, this sample will also apply to any other swappable type. O

Continue Reading

C++: Horner’s Rule for Polynomial Evaluation

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, evaluation, for, horner, polynomial, polynomials, rule, rules, s
C++: Horner’s Rule for Polynomial Evaluation

A fast scheme for evaluating a polynomial such as: when . is to arrange the computation as follows: And compute the result f

Continue Reading

C++: Execute a System Command

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged a, c, command, commnd, execute, system
C++: Execute a System Command

In this task, the goal is to run either the ls (dir on Windows) system command, or the pause system command. Works with: Visual C++ version 2005 sys

Continue Reading

C++: Input Loop

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, input loop
C++: Input Loop

Read from a text stream either word-by-word or line-by-line until the stream runs out of data. The stream will have an unknown amount of data on it.

Continue Reading

C++: What is the name of the “–>” operator?

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, is, name, of, operator, the, what
C++: What is the name of the “–>” operator?

After reading Hidden Features and Dark Corners of C++/STL on comp.lang.c++.moderated, I was completely surprised that it compiled and worked in both V

Continue Reading

C++: Munching Squares

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, color, colors, graphical, graphics, munching squares, pixels
C++: Munching Squares

Render a graphical pattern where each pixel is colored by the value of 'x xor y' from an arbitrary color table. #include <windows.h> #

Continue Reading

C++: Hello World Web Server

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, hello, localhost, print, server, web, web server, world
C++: Hello World Web Server

The browser is the new GUI ! The task is to serve our standard text "Goodbye, World!" to http://localhost:8080/ so that it can be viewed with a we

Continue Reading

Posts navigation

Older posts
Newer posts
University of California Irvine Leaderboard
Brandeis Business School
output_8BgzjE
University of Maryland Masters of Economics Sideboard
Click here
University of Maryland Masters of Economics Sideboard
University of California Berkeley Master of Financial Engineering MFE Sideboard
NYU Tandon School of Engineering Sideboard
  • Illustrative cover for Best Restaurants in Antwerp: 15 Standout Places to Eat

    Best Restaurants in Antwerp: 15 Standout Places to Eat

    October 8, 2026October 2, 2026 by TFE Times
  • How Champagne Became the Drink of Celebration

    October 8, 2026July 13, 2026 by TFE Times
  • Best Restaurants in Reno: 15 Standout Places to Eat — food and city collage

    Best Restaurants in Reno: 15 Standout Places to Eat

    October 7, 2026October 2, 2026 by TFE Times
  • How to Make Room for Spontaneity in a Structured Lifestyle

    October 7, 2026 by TFE Times
  • 2026 NFL Power Rankings Week 4: 49ers Stay No. 1, Chiefs Rise as Jaguars Surge

    October 7, 2026October 6, 2026 by TFE Times
  • A small vintage radio chassis with vacuum tubes and a soldering iron sits to the left of a blue-and-silver portable cassette player with orange-foam headphones on a dark charcoal background.

    History of Sony

    October 6, 2026October 6, 2026 by TFE Times
  • Illustrated dining collage for Best Restaurants in Amherst: 15 Standout Places to Eat

    Best Restaurants in Amherst: 15 Standout Places to Eat

    October 6, 2026October 2, 2026 by TFE Times
  • 2.7 Billion People Who Can’t Afford A Healthy Diet

    October 6, 2026June 20, 2026 by TFE Times
  • How Businesses Can Improve Digital Efficiency With Better Connectivity

    October 5, 2026 by TFE Times
  • How to Prepare Family Members for Temporary Mobility Changes

    October 5, 2026 by TFE Times

Copyright © TFE Times, LLC. All Rights Reserved.

Terms of Service | Privacy Policy | Disclaimer

WordPress Theme : Eight Paper by 8Degree Themes