How to read files from a torrent file? [closed] - c++

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions must demonstrate a minimal understanding of the problem being solved. Tell us what you've tried to do, why it didn't work, and how it should work. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
I want to extract information about torrent file like: files names inside it, their sizes ..., is there a C++ library for Linux that help me achieve this easily? or what is the structure of a torrent file and how do I find these information?

You can use the libtorrent library—a feature complete C++ BitTorrent implementation focusing on efficiency and scalability.
If you want to write your own library, there is the official BitTorrent Protocol Specification but it is very poorly written and lacks a lot of details. There is also a much better specification available.

Related

How To Read data from Microsoft Excel File by C++ Program [closed]

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
now i have some massive data on Excel Sheet, and i need by c++ program to transform this data into text file, to use it later in another thing.
how can i accesses this Excel file, to get data from first attribute and put delimiter and so on??
I have personally used Microsoft Excel Automation to read from Excel in the applications I develop. Please check the link http://www.codeproject.com/Articles/15837/Accessing-Excel-Spreadsheets-via-C for more information on Excel Automation.
But it seems there are other options as discussed in the following links
http://www.codeproject.com/Articles/42504/ExcelFormat-Library
Read cells from Excel in C++?

plotting inside C++ [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 8 years ago.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
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
I am trying to plot variables in C++ inside a for loop. In Matlab, it is very easy, just type plot(x,y), but I do not know how to use it in C++. Is it possible to do it with opencv? or if anybody has a better recommendation I really appreciate it.
If you want high quality plots take a look at gnuplot (can be used from C++ program) or asymptote (you can generate script and use this script for render your plot), but these tools are not for dynamic plotting.
Use the cvplot library, it will provide matlab style plotting function in opencv. You can also use this library.

Bindind to keys C++ [closed]

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
Hello there I am a realative newbie when it comes to using different "commands" in order to achieve things so I was wondering if any of you know a way to bind a key to do a certain task anywhere in the programme ,so I would be able to display a function for example and after the display finishes the programme carries on normally like nothing happened and then that same key on any other push would still do the display . Thanks in advance
Plain C++ does not have any concept of "key binding". The platform (e.g., the operating system) has this knowledge and it provides some libraries to handle it. So, you must provide more information about the operating system, or use a cross-platform library like Qt.

How can I mix C/C++ with python? [closed]

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 want to use C++ for opengl and python for scripting various social api calls. IS there a better option?
Prototype with your OpenGL calls in python - it is much quicker to prototype than C/C++ and then see if it is quick enough - if it is then you are done - if not then find the bottlenecks and consult the documentation on C/C++ plug in to address those issues.
Note that there are python OpenGL bindings available here which already use C/C++ on the OpenGL side so should be as fast as anything you are likely to come up with quickly.

convert hus and pes file to any types of images [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I am trying to convert a massive number of hus and pes files (embroidery files). I was able to do it using ImageMagick in centos but I encountered memory allocation errors and also it only works for pes files. Is there a script that can handle this for both file types?
I tryed in imageMagick with a lot of versions and a lot of files but I wasn't able to do it.
there are a couple of windows software that can do this, but it takes to much time to do it file by file.
Thanks to jpw I found a solution. Embroidermodder confers a conversion to svg that I can convert to png using convert. I had to build it from source but it worked very well.