Skip to content
TFE Times

TFE Times

Business, Technology, and Culture

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

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++: 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++: 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++: 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
University of California Irvine Leaderboard
Brandeis Business School
NYU Tandon School of Engineering Sideboard
output_8BgzjE
University of Maryland Masters of Economics Sideboard
University of Maryland Masters of Economics Sideboard
University of California Berkeley Master of Financial Engineering MFE Sideboard
Click here
  • U.S. vs. Chinese STEM Grads

    July 10, 2026November 28, 2025 by TFE Times
  • States With The Most Military Personnel

    July 9, 2026November 28, 2025 by TFE Times
  • State Of Freedom By Country

    July 8, 2026November 28, 2025 by TFE Times
  • How Healthcare Cybersecurity Solutions Help Hospitals Reduce Modern Security Risks

    July 7, 2026 by TFE Times
  • Most Livable Cities

    July 7, 2026November 28, 2025 by TFE Times
  • The Best Countries For Work-Life Balance

    July 6, 2026November 28, 2025 by TFE Times
  • Top 10 Restaurants in Austin, Texas

    July 5, 2026June 20, 2026 by TFE Times
  • Mobile-First Behavior: Revolutionizing Football Match Predictions

    July 4, 2026 by TFE Times
  • Top 10 Restaurants in Rome, Italy

    July 4, 2026June 20, 2026 by TFE Times
  • What First-Time THCP Vape Users Often Get Wrong

    July 3, 2026 by TFE Times

Copyright © TFE Times, LLC. All Rights Reserved.

Terms of Service | Privacy Policy | Disclaimer

WordPress Theme : Eight Paper by 8Degree Themes