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.
Related
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.
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 8 days ago.
Improve this question
I search the Python/C api and I write the my code. But this code shouldn't have .so like library files. İs it possible? If possible please show me to way.
I use CFFI,cython,pybind11 this is have the same way.
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 6 years ago.
Improve this question
I am working on implementing a BST in c++. The project needs two applications, one to read data from a file and build the tree and save it to a file. And another application to load then query the tree for information. I am trying to find a good structure for my entire project. I am thinking the source folder will contain three .cpp files: App1.cpp, App2.cpp and main.cpp. Is this how it's usually done?
Thanks!
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 7 years ago.
Improve this question
I notice that in many game folders, I cannot find the resource files (sounds, game scripts, textures...). Is that because I don't see it or the programmers have hidden them somewhere?
I'm learning to make my first game in SDL2.
They will often be compressed into .cab or other kinds of archival formats to decrease required space and provide tamper protection.
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 8 years ago.
Improve this question
I am a fairly new C++ programmer and I am trying to set up a program that moves 2 files into a different location. How do I do this?
Under Windows, there is an API just for that purpose, the MoveFileEx() function.
To use it, start with:
#include <windows.h>
And then you can simply do something like this:
BOOL result = MoveFileEx("C:\\dir\\myfile.txt", "D:\\another\\directory\\output.txt", MOVEFILE_COPY_ALLOWED);