Skip to content
TFE Times

TFE Times

Business, Technology, and Culture

Click here
MAFI_728x90
University of California Irvine Leaderboard
Click here
NYU Tandon School of Engineering Leaderboard
Brandeis University Master of Finance Leaderboard 728x90
Click here
University of California Irvine Leaderboard
MAFI_728x90
RPI 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++: 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
Click here
Brandeis Business School
University of California Berkeley Master of Financial Engineering MFE Sideboard
output_8BgzjE
University of California Irvine Leaderboard
  • When Messaging Platforms Double as Platforms for Speculation

    September 22, 2025 by TFE Times
  • Unleashing Creativity Through 3D Printing: The Power of PLA 3D Printers and High-Quality Filament

    September 22, 2025 by TFE Times
  • 5 Warning Signs That a Long-Term Care Facility Isn’t Doing Its Job

    September 22, 2025 by TFE Times
  • Why Your Smile Is Your Strongest Business Card

    September 22, 2025 by TFE Times
  • Common Examples of Defective Medical Products

    September 22, 2025 by TFE Times
  • 7 Things To Know Before Sharing Finances Digitally

    September 22, 2025 by TFE Times
  • Why Digital Privacy Tools Are Essential for Remote Work Security

    September 22, 2025September 22, 2025 by TFE Times
  • The Biggest Industries Of Tomorrow

    September 22, 2025May 25, 2025 by TFE Times
  • The Six Most Played Games

    September 21, 2025May 25, 2025 by TFE Times
  • The All-Time Most Watched Shows On Netflix

    September 20, 2025May 25, 2025 by TFE Times

Copyright © TFE Times, LLC. All Rights Reserved.

Terms of Service | Privacy Policy | Disclaimer

WordPress Theme : Eight Paper by 8Degree Themes