You need to initialize your time : tm time{}; // zero-initialized. "I just forget that tm is a C struct." That's common.
確定! 回上一頁