這個例子是從MQL4但沒有真正的問題:這個例子中的按位運算符&做什麼?
int OnCalculate(const int rates_total,
const int prev_calculated,
const datetime &time[],
const double &open[],
const double &high[],
const double &low[],
const double &close[],
const long &tick_volume[],
const long &volume[],
const int &spread[]
)
什麼事情確實是我不明白什麼是位運算符&
在這裏告訴我。
我知道會發生什麼,如果你有2個變量,並使用它var1 && var2
但在這種情況下與數組,可有人幫我在這裏?
這不是位運算符和,它的[地址運算符(http://www.cplusplus.com/doc/tutorial/pointers /) – Christian 2014-12-07 21:28:38