Skip to content
TFE Times

TFE Times

Business, Technology, and Culture

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

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged a, c, call, cll, foreignlanguage, foreignlnguge, function
C++: Call a Foreign-Language Function

Show how a foreign language function can be called from the language. As an example, consider calling functions defined in the C language. Create a

Continue Reading

C++: Catch an Exception Thrown in a Nested Call

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged a, an, c, call, catch, cll, ctch, exception, exception handling, exceptions, in, n, nested, thrown
C++: Catch an Exception Thrown in a Nested Call

Show how to create a user-defined exception and show how to catch an exception raised from several nested calls away. Create two user-defined exc

Continue Reading

Read/convert an InputStream to a String

Posted on September 1, 2017April 2, 2018 by TFE Times
Posted in C++Tagged a, an, inputstream, inputstrem, n, readconvert, redconvert, string, to
Read/convert an InputStream to a String

If you have java.io.InputStream object, how should you process that object and produce a String? Suppose I have an InputStream that contains te

Continue Reading

C++: Animate a Pendulum

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged a, animate, c, nimte, pendulum
C++: Animate a Pendulum

One good way of making an animation is by simulating a physical system and illustrating the variables in that system using a dynamically changing grap

Continue Reading

C++: Copy a Range of Elements

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged a, c, copy, elements, of, range, rnge
C++: Copy a Range of Elements

On line 7, we create a std::vector<int> called source containing a sequence of values that we wish to copy. On line 9, we have another std::v

Continue Reading

C++: Delete a File

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

In this task, the job is to delete a file called "input.txt" and delete a directory called "docs". This should be done twice: once "here", i.e. in the

Continue Reading

C++: Count Occurrences of a Substring

Posted on September 1, 2017October 10, 2017 by TFE Times
Posted in C++ StringsTagged a, count, occurrences, of, substring
C++: Count Occurrences of a Substring

The task is to either create a function, or show a built-in function, to count the number of non-overlapping occurrences of a substring inside a strin

Continue Reading

Creating a Memory Leak With Java

Posted on September 1, 2017April 2, 2018 by TFE Times
Posted in JavaTagged a, creating, creting, jv, leak, lek, memory, with
Creating a Memory Leak With Java

I just had an interview, and I was asked to create a memory leak with Java. Needless to say I felt pretty dumb having no clue on how to even start cre

Continue Reading

C++ Full Course Lesson 2: Understanding a Simple C++ Program

Posted on September 1, 2017October 9, 2017 by TFE Times
Posted in C++ VideosTagged 2, a, course, full, lesson, program, simple, understanding
C++ Full Course Lesson 2: Understanding a Simple C++ Program

https://www.youtube.com/watch?v=SWZfFNyUsxc&index=2&list=PLAE85DE8440AA6B83

Continue Reading

C++: Greatest Element of a List

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged a, c, element, greatest, gretest, list, max, of
C++: Greatest Element of a List

Create a function that returns the maximum value in a provided set of values, where the number of values may not be known until runtime. This will

Continue Reading

Posts navigation

Older posts
Newer posts
Click here
Brandeis Business School
NYU Tandon School of Engineering Sideboard
University of California Berkeley Master of Financial Engineering MFE Sideboard
output_8BgzjE
University of California Irvine Leaderboard
  • The World’s Most Powerful Compute Clusters

    December 17, 2025July 24, 2025 by TFE Times
  • How Rare Earths Power U.S. Defense

    December 16, 2025July 24, 2025 by TFE Times
  • Which Countries Produce Their Own Food?

    December 15, 2025July 24, 2025 by TFE Times
  • Wage Growth By State

    December 14, 2025November 28, 2025 by TFE Times
  • AI Company Revenue

    December 13, 2025November 28, 2025 by TFE Times
  • How Smart Guest Posting Builds Authority in an AI-Driven Search World

    December 12, 2025 by TFE Times
  • Ways Fraud Prevention Tools Help Financial Institutions Stay Compliant

    December 12, 2025 by TFE Times
  • Exemptions That Could Lower Your Property Tax Bill in Travis County

    December 12, 2025 by TFE Times
  • Stock Market Volatility

    December 12, 2025July 24, 2025 by TFE Times
  • The Race To $5 Trillion Market Cap

    December 11, 2025November 28, 2025 by TFE Times

Copyright © TFE Times, LLC. All Rights Reserved.

Terms of Service | Privacy Policy | Disclaimer

WordPress Theme : Eight Paper by 8Degree Themes