Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
15% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
5
Posts with Downvotes
4
Downvoting Members
4
0 Endorsements
~15.4K People Reached
Favorite Tags
Member Avatar for merse

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?

0
197
Member Avatar for merse

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?

Member Avatar for L7Sqr
0
123
Member Avatar for merse

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)

Member Avatar for mike_2000_17
0
168
Member Avatar for merse

What is the maximum length of an argument in the command line? It is not the same under DOS and Linux?

Member Avatar for Ancient Dragon
0
123
Member Avatar for merse

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?

Member Avatar for merse
0
85
Member Avatar for merse

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.

Member Avatar for lcordero
0
2K
Member Avatar for merse

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?

Member Avatar for Ancient Dragon
0
116
Member Avatar for merse

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?

Member Avatar for DavidB
0
81
Member Avatar for merse

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?

Member Avatar for twiss
0
94
Member Avatar for merse

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++?

Member Avatar for mrnutty
0
210
Member Avatar for merse

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 …

Member Avatar for Narue
0
156
Member Avatar for merse

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.

Member Avatar for merse
0
174
Member Avatar for merse
Member Avatar for merse

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 …

Member Avatar for scrappedcola
0
331
Member Avatar for merse

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 …

Member Avatar for peter_budo
-1
90
Member Avatar for merse

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 …

Member Avatar for merse
0
228
Member Avatar for merse

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?

Member Avatar for mrnutty
-2
94
Member Avatar for merse

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?

Member Avatar for Ancient Dragon
0
93
Member Avatar for merse

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 …

Member Avatar for vijayan121
0
229
Member Avatar for merse

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?

Member Avatar for merse
0
173
Member Avatar for merse

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 …

0
70
Member Avatar for merse

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?

Member Avatar for mike_2000_17
0
127
Member Avatar for merse

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 …

Member Avatar for merse
0
367
Member Avatar for merse

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?

Member Avatar for merse
0
75
Member Avatar for merse

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?

Member Avatar for Ancient Dragon
0
55
Member Avatar for merse

C++ has a standard function isinf()? like isnan()? If yes, it returns true in case of +inf and -inf also?

Member Avatar for merse
0
178
Member Avatar for merse
Member Avatar for merse

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 …

Member Avatar for Narue
0
674
Member Avatar for merse

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 …

Member Avatar for Narue
0
793
Member Avatar for merse

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]

Member Avatar for mrnutty
0
76