#include <vector> int main() {int const bar[] = {1, 3, 4};std::vector<int> foo(bar, bar + 3);int hage = * foo.begin();int hoge = foo.at(1);}
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!