Search:
Type: Posts; User: AvDav
Search:
Search took 0.40 seconds.
-
February 1st, 2019, 10:41 AM
This portion of the project I have worked on during my intention of starting career in local branch U.S. based company, Heuristic Physics Laboratory.
They've rejected my candidacy, stating that the...
-
February 1st, 2019, 06:06 AM
As I already mentioned in the code above, the crash occurs when accessing vector's element with i iterator, which is pointing to a NULL memory at the run-time.
I just replaced the following...
-
February 1st, 2019, 03:45 AM
The bug has been successfully eliminated using VS 6 environment.
Thanks for supporting me. :)
-
January 31st, 2019, 02:45 PM
I have the same conclusion, but making that correction leads to another unsolvable crash, that's why the best way to overcome is to leave it under 6-th Studio, and start learning the new C++...
-
January 31st, 2019, 02:22 PM
In fact, I decided not to use the project with this obsolete code, as lots of things have been changed during the years of existence of development environments, it's better to compile them in a...
-
January 31st, 2019, 02:06 PM
void FParser::MakeExpression(Token* begin, Token* end, BracketExpArray& bracks) {
Operation op;
BracketExp tmp;
BracketExpArray::iterator i;
tmp.Nat = false;
tmp.iOpBrack = begin->index;...
-
January 31st, 2019, 01:55 PM
I have already checked that the underlying memory of iterator at the crash point is NULL, using debugger, now I'm trying to overcome this issue, asking a solution how can I check that the iterator...
-
January 31st, 2019, 01:33 PM
Hello gurus,
I'm trying to build a project I have written a couple of decades ago under Visual Studio 6 environment, and currently trying to adopt it for a new dev. env., and I'm having crash...
-
March 31st, 2018, 04:20 AM
I have written math expressions' parser and evaluator in C++. It's a C++ wrapper class.
Works with 1, 2 variable, and thus can handle customized functions from 1,2 arguments for 2d and 3d...
-
March 25th, 2018, 11:12 AM
The Boost library has dynamic_bitset templated class, you can use it along with std::vector in order to achieve the necessary functionality.
-
January 5th, 2018, 02:20 AM
No, there are lots of samples available in the internet.
-
January 5th, 2018, 01:52 AM
This could be accomplished using file mapping or with just filling file's content into memory then dump modified data into output file.
The same thing is proposed in another thread, but it does...
-
January 4th, 2018, 01:24 PM
As far as I'm concerned, modern C++ doesn't allow to define multiple types in a for loop, so your solution with the tuple would flawlessly work out in this case. Probably, this issue would be...
-
January 4th, 2018, 11:34 AM
I used to meet such a question on interviews, my point was "as soon as the variable doesn't redefine another variable the traditional way of doing this is the way to go.". The issue needs to be...
-
January 3rd, 2018, 12:06 PM
The problem with incompatibility of .csv and .xlsx files could happen, as .csv files are plain textual files while excel files have their own format, so even blank excel document has its own...
-
January 1st, 2018, 08:44 AM
This topic probably needs to be placed in Visual C++ section, as MFC library have the device context related to printing and thus the answer can be given.
-
January 1st, 2018, 02:50 AM
Another good idea, is the following:
When we met the second line it is necessary to set the file pointer to the exact position and write whole string from the beginning of the file.
This would...
-
January 1st, 2018, 02:43 AM
The provided code would be a duplicate of initial file except for the line which need to be substituted, regardless what kind of data is written there.
The program reads the file line by line and if...
-
January 1st, 2018, 01:46 AM
Why not to keep another .csv file and write the whole stuff into it? Here is the code:
#include <string>
#include <iostream>
#include <fstream>
#include <conio.h>
using namespace std;
int...
-
December 15th, 2017, 01:24 PM
https://stackoverflow.com/questions/17357199/using-goto-function-across-different-functions
-
December 15th, 2017, 06:37 AM
Another way is to instantiate the class's object and pass it to the function parameter.
#include <iostream>
#include <string>
class myvals
{
public:
myvals() : x(5), y(12.4) {}
-
December 6th, 2017, 03:36 AM
Ugh, yeah, that sort of hack would certainly work out for an integer type. :)
-
December 6th, 2017, 03:01 AM
Another option is to use standard ways of doing this.
#include <iostream>
#include <string>
int main()
{
std::cout << std::to_string(0xffffffff);
}
-
December 2nd, 2017, 06:51 AM
I guess, it should be of an integer value or either an iterator. :)
-
September 4th, 2017, 01:14 PM
I have no idea. However, during programming for a Windows systems there is a _T() or TEXT() marcos available during dealing with both ANSI-string and Unicode characters. I'm assured, there must some...
|
Click Here to Expand Forum to Full Width
|