1.
中文翻译:未在此作用域中声明“f”
错误原因:未声明定义“f”
2.中文翻译:返回之前应为“;”
错误原因:没有加“;”
3.
中文翻译:没有这样的文件或目录(bits/stdc+.h: No such file or directory),编译终止(compilation terminated)
4.
错误原因:访问越界(可能是数组开太大导致的!,比如)
5.
错误原因([Error] no match for 'operator<<' (operand types are 'std::istream {aka std::basic_istream<char>}' and 'int')):输入输出的插入符写反了,如:
需注意:cin是>>,cout是<<
别搞反了哦