This question already has answers here:
zip and unzip file c++ [closed]
(6 answers)
Closed 9 years ago.
I use Visual Studio 2010 C++, what is the easiest way to unzip a file? Windows itself must have the functionality somewhere inside, ever since XP Windows got its own unzip wizard.
Have a look at Rich Geldreich's miniz. It's not winapi specific but it's so an easy way to add ZIP support to your application.
Look here:
Creating a ZIP file on Windows (XP/2003) in C/C++
http://social.msdn.microsoft.com/Forums/vstudio/en-US/45668d18-2840-4887-87e1-4085201f4103/visual-c-to-unzip-a-zip-file-to-a-specific-directory
But why don't you want to use an external function to unzip a file?
Related
This question already has answers here:
How to Compile C++ Code Using Vim on Windows?
(2 answers)
Compiling and Running a C++ Program with Vim [duplicate]
(3 answers)
How do i compile and run a c++ code in vim (windows) [closed]
(3 answers)
How to compile a cpp file directly from vim editor in Windows?
(1 answer)
Closed 11 months ago.
So I've been searching for literally hours but I can't find a good way to compile my C++ codes through GVIM. So I've tried to compile my programs through Window's Command Prompt, but it didn't work out too well because I had to move my files around, which I didn't enjoy at all. I also tried using the :make function in GVIM which for some reason also didn't work. So can someone please just give a detailed instruction on how I can run my C++ codes while using VIM? Thanks!
P.S. There's a YouTuber that I watch and this was what I meant when I was wondering about compiling code: https://www.youtube.com/watch?v=uGrBHohIgQY << Fast Forward to 1:20
Did you make own Makefile? :make will work only when you have created that file.
This question already has answers here:
Signed executables under Linux
(10 answers)
Closed 3 years ago.
I have a set of executable and shared object files in Linux built using GCC. I am looking for a way to digitally sign these. What could be the best way in Linux equivalent to Sign Tool for Windows?
If you create AppImage executables, you can sign them. See https://docs.appimage.org/packaging-guide/optional/signatures.html
This question already has answers here:
How do I programmatically get the version of a DLL or EXE file?
(6 answers)
Closed 6 years ago.
How to get the file version from File properties\Details\File version in Qt?
I didn't find it in QFileInfo.
This is not implemented in Qt. You can find an example of how to do it integrated with Qt here.
This question already has answers here:
How to execute a Matlab script from C++
(3 answers)
Closed 3 years ago.
I have 2 separate functions which one is in MS visual C++ and another is in Matlab. How do I execute the Matlab file in MS VISUAL? Is there a windows function to load the .m file and execute it straightly?
Two ways to run Matlab code in C++:
Call MATLAB Engine directly.
The target machine needs to have the MATLAB installed. Check out Call MATLAB Functions from C and C++ Applications for more info and examples.
Distribute MATLAB code into independent shared library (dlls).
The target machine needs to have the MATLAB compiler runtime. Check out here on how to do this (with detail steps and example).
This question already has answers here:
Closed 11 years ago.
Possible Duplicate:
How can I test a windows dll to determine if it is 32bit or 64bit?
I'm in win32 c++ code. I have the path to a DLL on disk and I want to know whether it is 64-bit or 32-bit. Is there a way to do this? I can't seem to find any reference on functions that let you peek inside DLLs.
Thanks,
Phil
If this dll is in one of the known folders: MSDN, you could decide it easily.
+1 for your first comment.