Hey hvad er problemet her?? har kigget det igennem flere gange nu..
	cout << "Indtast nyt password: " << endl;
	int a, b, c;
	cin >> a >> b >> c;
	sort(password.begin(), password.end());
	ofstream fil;
	fil.open("fil.txt");
	if(fil.is_open())
	{
		for(vector<int>::iterator ite = password.begin(); ite != password.end(); ite++)
		{
			fil << *ite << " " << endl;
		}
		fil.close();
	}
	if(!fil)
	{
		cout << "kunne ikke åbne filen!" << endl;
	}