Skip to main content

Questions tagged [file]

A block of arbitrary information, or resource for storing information, accessible by the string-based name or path. Files are available to computer programs and are usually based on some kind of persistent storage.

1 vote
1 answer
100 views

Intro (See the version 1.0.0.) (See the GitHub repository.) This time I have got rid of some generic classes and adapted the entire code base to deal with byte ...
coderodde's user avatar
  • 32.3k
4 votes
3 answers
84 views

I have a custom object which stores dataframes in memory given a certain hierarchy, and I want to store this data in a file while maintaining the hierarchy. This hierarchy involved parents, children, ...
Marcus Carpenter's user avatar
2 votes
1 answer
140 views

Repo The complete program: GitHub repository How it works After you have cloned the above repository, change directory inside it and type make in order to compile ...
coderodde's user avatar
  • 32.3k
11 votes
6 answers
1k views

I have created a cross-platform CLI tool to quickly retrieve file size and present it to the user in different units of data. The whole program is written in C and for Windows Win32 API is used to ...
Darth-CodeX's user avatar
9 votes
3 answers
1k views

The first lines of the rarpath module (see here for context, the rest is not used here): ...
viuser's user avatar
  • 629
6 votes
4 answers
1k views

I frequently work with large files and implemented a custom iterator to process these files efficiently while minimizing memory usage. The iterator reads each line from a file, parses it into a ...
Denis Kisina's user avatar
5 votes
2 answers
152 views

TLDR: First time dev in Go moving from Java and I need feedback on my simple CLI Tool. I wanted to get competent in Go as a very junior developer, so this is my first basic project in go. I set a goal ...
Magd Aref's user avatar
4 votes
3 answers
962 views

Intro (This post has a continuation Get histogram of bytes in any set of files in C++14 - take II.) For the sake of practice, I wrote this short program. It asks any set of file names and it produces ...
coderodde's user avatar
  • 32.3k
6 votes
1 answer
851 views

I'm working on a homebrew game engine in C++20. I needed a robust, minimal-overhead, and easy way to load files into memory. I ended up with this: a simple, easy file loader. It doesn't have many ...
user avatar
5 votes
2 answers
443 views

Intro This post is the continuation of Get histogram of bytes in any set of files in C++14 - take II. This time, I have incorporated almost all suggestions in the answers. Code My newest trial looks ...
coderodde's user avatar
  • 32.3k
4 votes
1 answer
397 views

Intro (This post is the continuation of Get histogram of bytes in any set of files in C++14.) This time I have added some ASCII art for visualizing the histogram. Also, if the program is invoked ...
coderodde's user avatar
  • 32.3k
4 votes
2 answers
250 views

I've created a C# function to extract album art from an mp3 file which seems to work well. Is there a better solution? This is the function that extracts the album art and returns a Bitmap of the ...
Short Int's user avatar
  • 762
3 votes
3 answers
165 views

(This post is the continuation of Get histogram of bytes in any set of files in Java - take II.) This time my code looks like as follows: ...
coderodde's user avatar
  • 32.3k
4 votes
2 answers
154 views

When doing Data Science projects, I often have to load data and metadata, and output results, plots, logs, etc. Therefore I have to handle all the file paths from where to load the input and write the ...
Alessandro Cesa's user avatar
6 votes
1 answer
719 views

I recently needed to write a portion of code to encrypt file to AES-256 in C# language. Since I did not find ready implementations of it, apart from string encryption, and since I'm very far from ...
Siarhei Kuchuk's user avatar

15 30 50 per page
1
2 3 4 5
56