- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 5
- Posts with Downvotes
- 4
- Downvoting Members
- 4
Is it possible to run to run photorec such a way not to recover all photos on a drive just those with specific EXIF data? If photorec cannot solve this request itself, is it possible to do this with a script which can filter the results online? |
|
I would like to use an unsigned integer type for indexing a vector, but I want to use the best and optimal on every platform. How to implemet? |
|
Wats wrong with this? std::vector<std::set<unsigned long> > surroundings; std::set<unsigned long> empty (); X = std::vector<std::set<unsigned long> > (N,empty); (where N is an ulong) |
|
What is the maximum length of an argument in the command line? It is not the same under DOS and Linux? |
|
Are there ay freely available language library? I need class of LETTER, WORD, SENTANCE, TEXT, ... for example a letter can be more than one character, like sch in German WORD category has to be stored, like noun/adjective etc. I have to write my own package? |
|
How to initializing a const set with list of values? I want to initialize in the preambulum, so I dont want to define and initialize an array before initializing the set. I want to do this in one row, if it is possible. |
|
How to determine the encoding of a text file? And are there any tools to handle the content of a text file independent of its encoding? |
|
Maple printf using the same format system as C %g %g puts two numbers but lot of spaces are between them it is possible to eliminate the spaces? %-g is not good, why? |
|
I would like to create a table with not fixed width. The width depends on the text length inside. But later I would like to create another table with the same width. It is possible? |
|
I would like to ignore empty line and line started with # [CODE] std::string line; while (getline(input,line)) { if (line[0] == '#') continue; if (line[0] == '?') continue; ... } [/CODE] Where ? is, I would like to put the end line character, but what is it in C++? |
|
Hi everybody, I have a simple mathematical member function of a class: [CODE] struct shell { double mc, ms, r0, v0, a0, w; shell(double mc, double ms, double r0, double v0, double w); double absv(double r) const; }; shell::shell(double mc, double ms, double r0, double v0, double w) { this->mc … |
|
It is possible to run dynamic web pages on a pocket PC without internet connection? I would like to read/write files using a browser on my pocket PC without internet connection. |
|
How to run PHP on pocket PC without internet connection? (under WM2003) |
|
I've made an empty mynote.txt in the same directory, and open the following code with Internet Explorer, and allow to write on hard disk (when IE asked) but nothing in the text file: mynote.txt after the run. what is the problem? [CODE]<html> <body> <script type="text/javascript"> function WriteFile() { var fh … |
|
I've made an empty mynote.txt in the same directory, and open the following code with Internet Explorer, and allow to write on hard disk (when IE asked) but nothing in the text file: mynote.txt after the run. what is the problem? [CODE]<html> <body> <script type="text/javascript"> function WriteFile() { var fh … |
|
How can I come to know that the system has done a rounding during a calculation or not? I mean for example 4/2=2 is an exact calculation of doubles because 4 and 2 are represented exactly. But for example 4/3 is not an exact calculation. I would like to know … |
|
It is possible to exploit the built in floating point arithmetic of the processor without using the standard C++ built in floating point data types? |
|
Number is always represented with the closest double? A real number is usually between two double representation. Always the closest representation is used or not necessary? |
|
I cannot reproduce numeric_limits<double>::epsilon() I have tried the following code: [CODE] #include <iostream> #include <limits> using namespace std; int main() { double x = 1; double s = 0; for(double y = x; y == x; y = x+(s+=x*1e-20)) {} cout << "my calculation: " << s << endl; cout … |
|
numeric_limits<double>::epsilon() gives the error of (double)1.0 in the sense that 1+epsilon is the next double value which is represented. But how can we calculate the error of arbitrary double number? |
|
If a double is initialized with 3.0 than we get an exact double, I mean 3.0 is an exact binary number, therefore 3.0 has no error during the conversion. But for example 0.1 is not an exact binary therefore the number (double)0.1 has error in its last digit. I would … |
|
I hate when I have to acces a class data member like myclass.get_x(); I would like to simply write myclass.x; But I also want to stay with private x, I just want to read like myclass.x, but dont want overwrite it. It is somehow possible? |
|
I think the following problem is a basic one in numerical codes: Suppose that we would like to do a for loop [CODE] for (double x = 0; x < Y; x += dx) { // numeric code } [/CODE] The problem is that if we set dx=0.1 it is … |
|
The Developer Studio compiles my code with no error and no warning, but I do not include the needed libraries. Maybe some standard libraries are loaded by default, but I cannot find in the settings, and dont know which ones! Can you help me? |
|
Can you recommend a free C++ compiler and editor under windows which is good for error tracking? I mean, I can step the program line by line, and check the values of variables? |
|
C++ has a standard function isinf()? like isnan()? If yes, it returns true in case of +inf and -inf also? |
|
How can write out rep sign (\) ? cout << "???"; |
|
I have a code including [CODE]#include <iostream> #include <iomanip> #include <fstream> using namespace std; [/CODE] And it works with MinGW under XP. I want to compile the same code under Suse linux, but compiler said that for example: atof(), error() functions are not defined. The problem solved if I include … |
|
I would like to read input data from text file with fstream. But I don't know how to mix different type of get functions. I would like to read for example numbers after char "=" I try to use something like this [CODE]char c; double x; while (!inFile.eof()) { inFile … |
|
Is it possible to do function overloading with different return type? For example: [CODE] void myfunc(double x, double y); double myfunc(bool x); [/CODE] |