C++11新特性
#include <iostream> using namespace std; int main() { double prices[5] = { 1.1, 1.2, 1.5, 8.5, 9.9 }; for (double x : prices) { cout << x << endl; } cout << "End" << endl; }
posted on 2019-08-15 21:16 稻草人MNMN 阅读(674) 评论(0) 编辑 收藏 举报