Open CarpeDiemly opened 2 years ago
It seemed to be a problem with my compiler, when I installed mingw64, the problem was solved.
It seemed to be a problem with my compiler, when I installed mingw64, the problem was solved.
我安装的也是mingw64,从官网上刚下的最新版,但是就是有问题...orz
my OS: Windows, and I modified the setting file of FastOlympicCoding, like this: ` { "name": "C++", "extensions": ["cpp"], "compile_cmd": "g++ \"{source_file}\" -std=c++17 -o \"{file_name}\"", "run_cmd": "\"{source_file_dir}\{file_name}.exe\" {args} -debug",
},
Mainly to modify the compiler to C++17, but if I use
#include<bits/stdc++.h>` in Cpp file, there will be errors when I build.-std=c++17
and#include<bits/stdc++.h>
with FastOlympicCoding---errors,-std=c++14 or 11
and#include<bits/stdc++.h>
with FastOlympicCoding---No error,-std=c++17
and#include<iostream>
with FastOlympicCoding---No error,-std=c++17
and#include<bits/stdc++.h>
without FastOlympicCoding---No error.please help me, thanks!