void dez_to_bin(int bit_vektor[], int dez_zahl, int bitanzahl)

{
	// *******************************************************************************
	// Die Funktion mit dem Inhalt f�llen
		cout << dez_zahl << " in binärer Darstellung mit BigEndian: ";
		for(int i = 0; i < bitanzahl; i++){
				bit_vektor[i] = dez_zahl % 2; //BigEndian (Least Significant Bit first)
				cout << bit_vektor[i];
				dez_zahl /= 2;
		}
		cout << endl;
}

The entries are the properties of their respective owners.
Powered by Flask, SQLAlchemy, Pygments and Bootstrap.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.