Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
I would like to call from a program in VS2010 C++ a windows application using a system call.
How is that possible in Windows? I would like to compress a file using the 7z applicaition. Can I call it from the VS2010 program?
The command is: C:\Program Files\7-Zip>7z a -mx9 -tbzip2 zip1.bz2 History.txt
Thank you
You can use
http://msdn.microsoft.com/en-us/library/windows/desktop/bb762153%28v=vs.85%29.aspx
or
http://msdn.microsoft.com/en-us/library/windows/desktop/ms682425%28v=vs.85%29.aspx
or
http://msdn.microsoft.com/en-us/library/windows/desktop/ms687393(v=vs.85).aspx
or
call system() function
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 1 year ago.
Improve this question
I know there are some question about this, but i found them based on windows.
So is there any good and simple method can upload in centos(linux)?
it would be great if nothing need to install(better no package)
maybe you can try to use libcurl, there is an example from curl repos:
https://github.com/curl/curl/blob/master/docs/examples/ftpupload.c
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
I have a 2500 line and 76.8 kb c++ console program. I learned inline function but heard about inline function makes a trouble in huge programs. Is it true? This program is huge or not. It can be a trouble in the future. What should i do or what is your suggestion for me.
Note:Program include lots of functions.
Thanks!
Is it true?
You can check out the advantage and disadvantages of Inline Functions and justify it
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
I would like to generate a class reference graph of my project on Visual Studio.
Some Google research deal with other programs except Visual Studio
If I understand this right, Visual Studio has this feature already.
Reference this: http://msdn.microsoft.com/en-us/library/z3zaa390(v=vs.90).aspx
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
#include<fstream>
int main()
{
ifstream fFeedList;
fFeedList.open("/ra/file");
return 0;
}
How to read files with .bz2 in C++? Thanks!!
Take a look at the Boost iostreams library, it can decompress bzip etc.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 8 years ago.
This question appears to be off-topic because it lacks sufficient information to diagnose the problem. Describe your problem in more detail or include a minimal example in the question itself.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Improve this question
Is there a way to drop packets with libiptc c++?,i want a sample code for drop packet with libiptc in c++.
for this you should write a driver.
for example you can use main_hook function.