Storing a struct in a C++ file [closed] - c++

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 days ago.
Improve this question
What is the most convenient way to store structures in a file in C ++ language (so that later you can delete some structure from the file, read it and add it without any problems).
Used stdio.h library functions fread and fwrite but I ran into a problem that I don’t know how to remove a specific structure from a file or put all the structures of a file into one array of structures.

Related

Function in CUDA that does the same thing as compiler.SourceModule in pyCUDA [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 5 days ago.
Improve this question
I have a question in CUDA programming.
Is there a way to obtain a module by accepting the contents of a *.cu file as a string rather than loading a *.cu file and compiling with cubin? I'd like to utilize nvrtc if possible.
I wrote most of the code using nvrtc, and I'm looking for a way to not create external files like cubin.

Running C++ functions from a web page [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 6 months ago.
Improve this question
I have a complicated C++ function that takes as input some files describing geometry and outputs some files describing resulting geometry. I'd like to provide an interface to this function on a webpage with the function being computed on a powerful computer. What are some good options that don't require me to rewrite the function in another language?

Where to place Clojure Specs? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 3 years ago.
Improve this question
If you use Clojure Spec, how do you use it?
Do you tend to put all your specs in one place or distribute them through the "modules" of your program?

When should I use the "superproject" pattern? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 5 years ago.
Improve this question
Some libraries, such as LLVM, use a "superproject" pattern, where consumers of the library, such as libcxx, should live inside of the libraries' folder-structure. In the case of LLVM, this is llvm/projects.
This seems quite limiting, as it makes it harder use the library when there are other folder-structure constraints.
Why was this descision made, and what are some reasons to use such a layout?

How to check multiple files for duplicates in C++ [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
I need to compare 5 files by their file paths: a,b,c,d,e and find duplicates if exists.
How can I do this in c++ via md5sum comparison of files?
You'd need to compute a checksum for each file (write it yourself or call an external program), get hold of each file, ... This depends on the operating system. It is much easier to do something like this in a scripting language.