Errors, bugs, questions - page 2830

 
The menus are sorted by frequency of use.

After a month, everyone will get used to it.
 
Renat Fatkhullin:
Menus are sorted by frequency of use.

In a month everyone will get used to it.

Is that the way marketers decide now? It's just logical to increase the frequency of use of other services, including their primary offering.

Share what will happen in a month with frequency, how it will change - interesting.

 

Don't be a bully, they teach it on special courses. In supermarkets, they also change the places where they display their products from time to time. A man gets used to going to a place where he always takes vodka and it's not there. But he sees that there is also sausage on sale. He takes the sausage, finds what he came for and the shop's turnover increases.

Here, too, you will open the documentation more often, poking out of habit where there was a link to the forum. Maybe you will read something useful.

But seriously: this is not a supermarket. Such tricks do not work here. If I'm not interested in news, not interested in quotes and Webterminal with VPS......... And I will not go to CodeBase even if they will pay you. Unless they pay a lot of money. But I won't read anything there anyway.

 
Alexey Viktorov:

Here, too, you will open the documentation more often, poking at the forum link as a matter of habit. Maybe you will read something useful.

no can do, I got the opposite effect - my documentation link is hidden )))


 
Igor Makanu:

No way, got the opposite effect - my documentation link is hiding ))))


So read the articles more often.)))))

 
Compilation error
class A {
        int f( int ) { return 0; }
        void g( int f ) { f = f( 1 ); } //(1) Error: '1' - some operator expecte
};

but otherwise:

class A {
        int f( int ) { return 0; }
        void g()    { int f = f( 1 ); } //(2) нормально
};

fine. What difference does it make?

 

Hello all!

I am facing a problem. I am writing an Expert Advisor for the MetaTrader 5 platform. PSB Forex broker. This broker has an operation called "rollover". So, during testing, this "rollover" tries to reopen trades with a lot equal to zero. It turns out that during testing trades are simply closed. In this case, during normal trade (tested on the demo), all is transferred as it should. Maybe someone knows how to fix this bug during testing?

 
A100:
Compilation error

but otherwise:

fine. What is the difference?

Because in the first case f is overridden before f(int) is called, and in the second case after

class A {
        int f( int ) { return 0; }
        void g() { int f = f( 1 ); int x=f(1);} //(1) Error: '1' - some operator expecte
};
 
Renat Fatkhullin:
The menus are sorted by frequency of use.

After a month everyone will get used to it.

feng shui in the middle then the most frequent ones) .... of course they will)

 
Vladimir Simakov:

Because in the first case f is overridden before calling f(int) and in the second case after

You are out of the loop again - there is no difference. In both cases: either there should be no error - or there should be (as in C++). Here is example (3), when f is redefined after, as in case (2), but unlike in case (2) - compile-time error

class B {
public:
        B( int ) {}
};
class A {
        int f( int ) { return 0; }
        void g()    { B f(f( 1 )); } //(3) Error: '1' - some operator expected
};