Skip to content
TFE Times

TFE Times

Business, Technology, and Culture

RPI Leaderboard
MAFI_728x90
NYU Tandon School of Engineering Leaderboard
University of Maryland Masters of Economics Leaderboard
Click here
University of California Irvine Leaderboard
Brandeis University Master of Finance Leaderboard 728x90
Click here
University of Maryland Masters of Economics  Leaderboard
MAFI_728x90
Click here
University of California Irvine 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++: 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++: Create an Object at a Given Address

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged a, address, an, at, c, create, crete, ddress, given, n, object, t
C++: Create an Object at a Given Address

In systems programing it is sometimes required to place language objects at specific memory locations, like I/O registers, hardware interrupt vectors

Continue Reading

C++: Split a string in C++

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged a, c, in, split, strg, string
C++: Split a string in C++

What’s the most elegant way to split a string in C++? The string can be assumed to be composed of words separated by whitespace. (Note that I’m

Continue Reading

C++: Constrained Random Points on a Circle

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged a, c, circle, constrained, cstrined, on, points, random, rndom
C++: Constrained Random Points on a Circle

Generate 100 <x,y> coordinate pairs such that x and y are integers sampled from the uniform distribution with the condition that . Then display/

Continue Reading

C++: Count in Octal

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, count, in, octal
C++: Count in Octal

The task is to produce a sequential count in octal, starting at zero, and using an increment of a one for each consecutive number. Each number should

Continue Reading

C++: Draw a Clock

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged a, c, clock, draw, drw, graphics

Task: draw a clock. More specific: Draw a time keeping device. It can be a stopwatch, hourglass, sundial, a mouth counting "one thousand an

Continue Reading

C++: Kaprekar Numbers

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

A positive integer is a Kaprekar number if: It is 1 The decimal representation of its square may be split once into two parts consisting of po

Continue Reading

C++: Black Scholes Put Option Rho

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged black, c, option, put, rho, scholes
C++: Black Scholes Put Option Rho

// Calculate the Black Scholes European put option Rho double BS_Put_Option_Rho(double S, double K, double r, double v, double T) // Parameters

Continue Reading

C++: Foreach Loop

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

Loop through and print each element in a collection in order. Use your language's "for each" loop if it has one, otherwise iterate through the collect

Continue Reading

C++: Environment Variables

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, environment variables
C++: Environment Variables

Show how to get one of your process's environment variables. The available variables vary by system; some of the common ones available on Unix include

Continue Reading

Posts navigation

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