void main() { oeffnen(); eingabe(); ausgabe(); ende(); }
int main (int argc, char* argv[]) { char *name = "dhondt-ergebnisse2.txt"; if (argc > 1) name = argv[1]; eingabe (name); berechneProzent(); berechneDivisoren (); berechneSitze(); ausgabe (); return 0; }
int main(void) { vector<schuler> klasse; while (1) { if ( ! eingabe(&klasse) ) return false; tab_ausgabe(&klasse); histogramm(&klasse); } return 0; }
bool readParameters(ifstream&f,const ParSet&parset,int verb,int level) { string s; if(!f)return 0; while(getline(f,s)) { istrstream eingabe(s.c_str()); string s1,s2; eingabe>>s1>>s2; if(makeSetCommand(s1,s2,parset,verb,level)==0) cerr << "ERROR: could not set: (C) " << s1 << " " << s2 << endl; } return 1; }
int main(void) { my_float R, F, U, V; eingabe(&R); printf("\n\n Kreisberechnung"); printf(" (berechnet mit pi = %lf)\n", my_pi); /* aus mydefs.h */ F = flaeche(R); U = umfang(R); V = kugelvolumen(R); printf("\n Radius =\t%lf \n Flaeche =\t%lf \n Umfang =\t%lf\n Volumen = \t%lf\n", R , F, U, V); getchar(); getchar(); /* dummy input -> warte hier */ exit(0); }
int main ( void ) { int anzb = ANZAHL; int anzw = ANZAHL; double betraege [ANZAHL]= {}; char waehrung [ANZAHL] [Y] = {{}}; eingabe (betraege, anzb, waehrung, anzw); ausgabe (betraege , anzb, waehrung,anzw); return 0; }