编译出现"cout": 未声明的标识符的错误 #include<iostream>#include "stdafx.h"#include<stdlib.h> 应把#include "stdafx.h"写在#include<iostream>的前面: #include "stdafx.h"#include<iostream>#include<stdlib.h> 相关文章: 2021-08-03 2021-08-14 2022-12-23 2022-01-24 2022-12-23 2022-12-23 2022-12-23 2021-11-10