#include <vector>void foo(std::vector<double>&r){ int len; len = r.size(); //error value required as left operand of assignment } int main() {}
Standard input is empty
Standard output is empty
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!