All pastes #923797 Raw Edit

Untitled

public text v1 · immutable
#923797 ·published 2008-02-29 21:26 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 < 26; i++)
	   	//v.push_back(i + 0.1);
		v[i] = i + 0.1;

	for (int i = 0; i < v.size(); i++)
		cout << v[i] << " ";

	
	cout << endl;

	return 0;

}