Skip to content
TFE Times

TFE Times

Business, Technology, and Culture

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

C++: Create a File

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged a, c, create, crete, file
C++: Create a File

In this task, the job is to create a new empty file called "output.txt" of size 0 bytes and an empty directory called "docs". This should be done twic

Continue Reading

C++: Apply a Callback to an Array

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged a, an, apply, array, c, callback, cllbck, n, pply, rry, to
C++: Apply a Callback to an Array

In this task, the goal is to take a combined set of elements and apply a function to each element. C-style Array: #include <iostream> //

Continue Reading

C++: Create a Two-Dimensional Array at Runtime

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged a, array, at, c, create, crete, rry, runtime, t, twodimensional, twodimensionl
C++: Create a Two-Dimensional Array at Runtime

Get two integers from the user, then create a two-dimensional array where the two dimensions have the sizes given by those numbers, and which can be a

Continue Reading

C++: What are the differences between a pointer variable and a reference variable in C++?

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged a, and, are, between, c, differences, in, nd, pointer, poter, re, reference, the, variable, vrible, what, wht
C++: What are the differences between a pointer variable and a reference variable in C++?

I know references are syntactic sugar, so code is easier to read and write. But what are the differences? Summary from answers and links bel

Continue Reading

C++: Address of a Variable

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged a, address, c, ddress, of, variable, vrible
C++: Address of a Variable

Get the address Note that void* is a "pure" address which doesn't carry the type information anymore. If you need the type information (e.g. to recov

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++: 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++: 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++: 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++: Flatten a List

Posted on September 1, 2017October 10, 2017 by TFE Times
Posted in C++ PuzzlesTagged a, flatten, list
C++: Flatten a List

Write a function to flatten the nesting in an arbitrary list of values. Your program should work on the equivalent of this list: [[1], 2, [[3,4], 5

Continue Reading

Posts navigation

Older posts
Newer posts
NYU Tandon School of Engineering Sideboard
University of California Berkeley Master of Financial Engineering MFE Sideboard
University of California Irvine Leaderboard
output_8BgzjE
Click here
Brandeis Business School
  • Gold Production By Country

    February 11, 2026October 5, 2025 by TFE Times
  • One Overlooked Bearing Detail That Can Triple Maintenance Costs

    February 10, 2026 by TFE Times
  • The Top Ten Cleanest Operating Utilities In The US

    February 10, 2026October 5, 2025 by TFE Times
  • The Top Followed Gen Z Influencers on Instagram

    February 9, 2026October 5, 2025 by TFE Times
  • The States With The Most Doctors

    February 8, 2026October 5, 2025 by TFE Times
  • Teen Vapes By State

    February 7, 2026October 5, 2025 by TFE Times
  • U.S. States With The Highest Credit Card Debt

    February 6, 2026October 5, 2025 by TFE Times
  • How Online Casino Regulation Redefined the Industry

    February 5, 2026 by TFE Times
  • Three Factors That Are Dragging Down The U.S. Dollar

    February 5, 2026October 5, 2025 by TFE Times
  • wordpress

    Best Ways to Convert PDF to Word for Contracts: Enterprise Tools Reviewed

    February 4, 2026 by TFE Times

Copyright © TFE Times, LLC. All Rights Reserved.

Terms of Service | Privacy Policy | Disclaimer

WordPress Theme : Eight Paper by 8Degree Themes