// Alexander.cpp : Definiert den Einstiegspunkt für die Konsolenanwendung.
//

#include "stdafx.h"

#include <cstdio>
#include <string>
#include <iostream>

using namespace std;

void addiere (const int x, const int y, int &z){
	z= x+y; 
	printf("x: %6i y: %6i z: %6i \n",x,y,z);
}
void bestimmeHalbjahresbilanz (const int q1, const int q2, const int q3, const int q4, int & hj1, int & hj2){
	addiere (q1,q2,hj1);	
	addiere (q3,q4,hj2);
}

int _tmain(int argc, _TCHAR* argv[])
{
	int a = 23;

	int b = 36; 

	int c = 41; 

	int d = 29;

	int e,f;

	bestimmeHalbjahresbilanz(a,b,c,d,e,f);

        printf("Hallo\n");

        string eins = "Warum nur...";

        cout << eins << endl;

        printf( "Frage: %s \n", eins.c_str() );

		getchar();

        return 0;
} 
