Skip to content
TFE Times

TFE Times

Business, Technology, and Culture

MAFI_728x90
University of Maryland Masters of Economics Leaderboard
Click here
University of Maryland Masters of Economics  Leaderboard
Click here
NYU Tandon School of Engineering Leaderboard
Click here
RPI Leaderboard
Brandeis University Master of Finance Leaderboard 728x90
MAFI_728x90
University of California Irvine Leaderboard
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: 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++: 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++: 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++: 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
output_8BgzjE
NYU Tandon School of Engineering Sideboard
Brandeis Business School
University of Maryland Masters of Economics Sideboard
University of California Berkeley Master of Financial Engineering MFE Sideboard
Click here
University of Maryland Masters of Economics Sideboard
University of California Irvine Leaderboard
  • Western Fertility Rates In Crisis

    May 30, 2026November 14, 2025 by TFE Times
  • How a Text-to-HTML Editor Speeds Up Content Publishing

    May 29, 2026 by TFE Times
  • Building Cost-Effective E-Learning Platforms for Growing Institutions

    May 29, 2026 by TFE Times
  • Ranked: The Cities Americans Are Moving To

    May 29, 2026November 14, 2025 by TFE Times
  • Navigating the Digital Leisure Landscape Without Losing Yourself

    May 28, 2026May 28, 2026 by TFE Times
  • Mapped: The Most Rent-Burdened States In America

    May 28, 2026November 14, 2025 by TFE Times
  • States Most Dependent On Food Stamps

    May 27, 2026November 14, 2025 by TFE Times
  • The Complete Guide to Pay Stubs and Income Documentation: What Every Worker Needs to Know in 2026

    May 26, 2026 by TFE Times
  • The Evolution of Online Gambling: A Look into 2026

    May 26, 2026 by TFE Times
  • Personal Injury Settlement Value and What Affects It

    May 26, 2026 by TFE Times

Copyright © TFE Times, LLC. All Rights Reserved.

Terms of Service | Privacy Policy | Disclaimer

WordPress Theme : Eight Paper by 8Degree Themes