All pastes #923798 Raw Edit

Untitled

public text v1 · immutable
#923798 ·published 2008-02-29 21:27 UTC
rendered paste body
#include <iostream>
#include <string>
#include <vector>
#include <fstream>
using namespace std;

int main() {

        vector<float> v(25);
        
        // Populate a vector with 25 floats
        for (int i = 0; i < 25; i++)
                v[i] = i + 0.1;

        cout << showpoint;
        for (int i = 0; i < 25; i++)
                cout << v[i] << " ";
        
        cout << endl;

        return 0;

}