Skip to content
TFE Times

TFE Times

Business, Technology, and Culture

RPI Leaderboard
Click here
MAFI_728x90
NYU Tandon School of Engineering Leaderboard
Click here
Brandeis University Master of Finance Leaderboard 728x90
Click here
Johns Hopkins Financial Mathematics
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
Claremont Graduate University Financial Engineering
University of North Carolina Charlotte UNCC MFE Master of Mathematical Finance Sideboard 300x250
NYU Tandon School of Engineering Sideboard
output_8BgzjE
University of Maryland Master of Science in Applied Economics
University of North Carolina Charlotte UNCC MFE Master of Mathematical Finance Sideboard 300x250
Brandeis Business School
Click here
Johns Hopkins Financial Mathematics
University of California Berkeley Master of Financial Engineering MFE Sideboard
  • Everything Owned By Amazon

    March 25, 2023July 30, 2022 by TFE Times
  • 2023 Tax Deadlines

    March 24, 2023March 23, 2023 by TFE Times
  • Do Probiotics Really Work?

    March 24, 2023July 30, 2022 by TFE Times
  • How Gen Z Relates To Brands

    March 23, 2023July 30, 2022 by TFE Times
  • The 25 U.S. Metro Areas Where Project Manager Specialists Earn The Most

    March 22, 2023July 30, 2022 by TFE Times
  • 10 Must-See Sights In Washington, DC

    March 21, 2023July 17, 2022 by TFE Times
  • The Richest Town In Every U.S. State

    March 20, 2023March 23, 2023 by TFE Times
  • The Increase In Solar Panel Efficiency

    March 19, 2023July 17, 2022 by TFE Times
  • Cryptocurrency Mining Legality

    March 18, 2023 by TFE Times
  • Cryptocurrency Mining and the Environment: The Need for Sustainable Practices

    March 18, 2023 by TFE Times

Copyright © TFE Times, LLC. All Rights Reserved.

Terms of Service | Privacy Policy | Disclaimer

WordPress Theme : Eight Paper by 8Degree Themes