#include <iostream>#include <vector> int main(){std::vector<double> arr{15454};std::cout << arr.size() << " value: " << arr[0];}
Standard input is empty
1 value: 15454
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!