スポンサード リンク
Microsoft Visual C++にて以下のソースでコンパイルエラーが発生します:
コンパイルエラーメッセージ:
error C2079: 'local_time' が 未定義の struct 'main::tm' で使用しています。
ソース(バグ有り):
#include <stdio.h>
#include <stdlib.h>
int main(void)
{ |
ソース(修正済み):
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
int main(void)
{ |
スポンサード リンク