النتائج 61 إلى 75 من 124
الموضوع: دردشة عامة لأشياء مختلفة
- 04-10-2017, 02:27 AM #61
Binary search algorithm=half-interval search
Binary search compares the target value to the middle element of the array; if they are unequal, the half in which the target cannot lie is eliminated and the search continues on the remaining half until it is successful. If the search ends with the remaining half being empty, the target is not in the array
- 04-10-2017, 02:29 AM #62
Hash table
In computing, a hash table (hash map) is a data structure which implements an associative array abstract data type, a structure that can map keys to values.
- 05-10-2017, 04:49 AM #63
Objects are always passed by reference
قاعدة مقدسة في mq4
ضحايا مفاهيم الجافا و c++ ان يتنبهوا لها
Objects are always passed by reference
Objects are always passed by reference
Objects are always passed by reference
Objects are always passed by reference
- 05-10-2017, 05:12 AM #64
// These are all assignments, not initializations
ماهو الفرق بين assignments و initializations
كود PHP:class Something
{
private:
int m_value1;
double m_value2;
char m_value3;
public:
Something()
{
// These are all assignments, not initializations
m_value1 = 1;
m_value2 = 2.2;
m_value3 = 'c';
}
};
- 06-10-2017, 12:25 PM #65
dynamic_cast
Dynamic typecasting is performed using dynamic_cast operator that can be applied only to pointers to classes. Type validation is performed at runtime. This means that the compiler does not check the data type applied for typecasting when dynamic_cast operator is used. If a pointer is converted to a data type which is not the actual type of an object, the result is NULL.
كود PHP:dynamic_cast <type-id> ( expression )
كود PHP:class CBar { };
class CFoo : public CBar { };
void OnStart()
{
CBar bar;
//--- dynamic casting of *bar pointer type to *foo pointer is allowed
CFoo *foo = dynamic_cast<CFoo *>(&bar); // no critical error
Print(foo); // foo=NULL
//--- an attempt to explicitly cast a Bar type object reference to a Foo type object is forbidden
foo=(CFoo *)&bar; // critical runtime error
Print(foo); // this string is not executed
}
- 06-10-2017, 01:37 PM #66
الكود اسفل لو تشددنا
كود PHP:for( uchar i=0;i<=27;i++)
كود PHP:for( int i=0;i<=27;i++)
- 06-10-2017, 07:38 PM #67
ما الفرق
كود PHP:void OnStart()
{
for(int i=1;i<=5;i++)
{
static int count=1;
Print(i," ----A---- ",count);
count++;
}
}
كود PHP:void OnStart()
{
for(int i=1;i<=5;i++)
{
int count=1;
Print(i," ----A---- ",count);
count++;
}
}
- 06-10-2017, 08:13 PM #68
difference between declare and define in mql4
??
- 07-10-2017, 01:54 PM #69
- 13-10-2017, 08:35 AM #70
- 14-10-2017, 03:08 AM #71
And opened the fish, did not find the ring
- 14-10-2017, 02:39 PM #72
- 14-10-2017, 11:27 PM #73
- 14-10-2017, 11:34 PM #74
- 14-10-2017, 11:39 PM #75