Skip to content
TFE Times

TFE Times

Business, Technology, and Culture

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

C++: Write CSV File

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, csv, file, write
C++: Write CSV File

void write_csv_file(double A[], int length, string file_name) //Function that prints array A to a *.csv file { ofstream output(file_name);

Continue Reading

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++: File Modification Time

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, file, file modification, files, modification, Time
C++: File Modification Time

This task will attempt to get and set the modification time of a file. #include <boost/filesystem/operations.hpp> #include <ctime> #i

Continue Reading

C++: File Size

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, file, file size, size
C++: File Size

In this task, the job is to verify the size of a file called "input.txt" for a file in the current working directory and another one in the file syste

Continue Reading

C++: Globally Replace Text in Several Files

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, everal, file, globally, in, replace, replae, s, several, text
C++: Globally Replace Text in Several Files

The task is to replace every occurring instance of a piece of text in a group of text files with another one. For this task we want to replace the tex

Continue Reading

C++: Find Common Directory Path

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, common, directory, file, find, path
C++: Find Common Directory Path

Create a routine that, given a set of strings representing directory paths and a single character directory separator, will return a string representi

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++: Include a File

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

The task is to demonstrate the language's ability to include source code from other files. In C and C++, inclusion of other files is achieved via a

Continue Reading

C++: Check That File Exists

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, check, exists, file, that
C++: Check That File Exists

In this task, the job is to verify that a file called "input.txt" and the directory called "docs" exist. This should be done twice: once for the curre

Continue Reading

C++: File Input/Output

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, file, files, inputoutput
C++: File Input/Output

In this task, the job is to create a file called "output.txt", and place in it the contents of the file "input.txt", via an intermediate variable. In

Continue Reading
Click here
University of California Irvine Leaderboard
NYU Tandon School of Engineering Sideboard
Brandeis Business School
University of California Berkeley Master of Financial Engineering MFE Sideboard
output_8BgzjE
  • Direct War Damage In Ukraine

    November 20, 2025June 27, 2025 by TFE Times
  • Explore Signature Chicken Dishes That Define the Best Food Trucks

    November 19, 2025 by TFE Times
  • How Does Utah Law Protect You After a Dog Bite?

    November 19, 2025 by TFE Times
  • Why Digital Products Use Surprise Effects: The Psychology Behind User Interaction

    November 19, 2025 by TFE Times
  • Game Theory in Business: How Companies Compete by Mapping Hidden Strategic Patterns

    November 19, 2025November 19, 2025 by TFE Times
  • The Aesthetics of Neon and Night Lights: How “Nocturnal Luxury” Shapes Modern Tech Branding

    November 19, 2025 by TFE Times
  • Innovation as a Bet on the Future: Why Startups Survive on the Edge of Risk

    November 19, 2025 by TFE Times
  • “Random Rewards” and Gamification: How Tech Companies Use Surprise Mechanics to Keep Users Engaged

    November 19, 2025 by TFE Times
  • 25 AI Startups On The Rise

    November 19, 2025June 27, 2025 by TFE Times
  • The 50 Best Places To Work In America

    November 18, 2025June 27, 2025 by TFE Times

Copyright © TFE Times, LLC. All Rights Reserved.

Terms of Service | Privacy Policy | Disclaimer

WordPress Theme : Eight Paper by 8Degree Themes