這幾乎肯定是一個非常愚蠢的問題,但由於某種原因,我在互聯網校驗和計算中遇到了麻煩。所有的算法基本上是這個樣子: WORD chksm(WORD *startpos, WORD checklen){
ulong sum = 0;
WORD answer = 0;
while (checklen > 1)
{
sum += *startpos++;
checklen -=
我正在使用Ionic 3,Firebase和FirebaseAuth。我試圖使用當前通過身份驗證的用戶來檢索此用戶的對象列表。下面是我的嘗試,我得到一個錯誤 getContacts Error: TypeError: You provided 'undefined' where a stream was expected. You can provide an Observable, Promis