Quelltext Flashcards

1
Q

Quelltext main

A

1) #include
2) Funktionsdeklaration;
3) int main (void) {
4) Variablendeklaration;
5) Programm
6) return 0; }

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Quelltext Unterfunktion

A

1) Funktionsdeklaration (wie in main) {
2) Variablendeklaration
3) Programm
4) return rw; }

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Wahl

A
switch(wahl)
{
case1: ... break;
case2: ... break;
default: ... ; 
}
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Schleife mit Eintrittsbedingung

A

while (bed) {…}

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Schleife mit Austrittsbedingung

A

do {…} while (!Bed);

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Zählschleife

A

for (i=0 ; i

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

if Bedingung

A

if (Bed) {…}

else {…}

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Tastatureingabe

E(T):dname

A

fgets (buffer,100,stdin);

sscanf(buffer, “%i” ,dname);

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Datei öffnen

A

datei=fopen(dname,”r”);

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Datei schließen

A

fclose(Datei);

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Lesefehler

A

datei==NULL

How well did you know this?
1
Not at all
2
3
4
5
Perfectly