29
Bild 1 Iteration i C ”upprepa” #include <stdio.h> #define DELAY 1000000L int main( void ){ long i; while ( 1==1 ) { printf("A"); for ( i=1; i < DELAY ; i++ ) ; printf("\tn"); for ( i=1; i < DELAY ; i++ ) ; printf("\td"); for ( i=1; i < DELAY ; i++ ) ; printf("\te"); for ( i=1; i < DELAY ; i++ ) ; printf("\tr"); for ( i=1; i < DELAY ; i++ ) ; printf("\ts"); for ( i=1; i < DELAY ; i++ ) ; printf("\r \t \t \t \t \t \r"); for ( i=1; i < DELAY ; i++ ) ; } return 0; }

Iteration i C ”upprepa”

Embed Size (px)

DESCRIPTION

#include #define DELAY 1000000L int main( void ){ long i; while ( 1==1 ) { printf("A"); for ( i=1; i < DELAY ; i++ ) ; printf("\tn"); for ( i=1; i < DELAY ; i++ ) ; printf("\td"); for ( i=1; i < DELAY ; i++ ) ; printf("\te"); for ( i=1; i < DELAY ; i++ ) ; - PowerPoint PPT Presentation

Citation preview

Page 1: Iteration  i C ”upprepa”

Bild 1

Iteration i C”upprepa”

#include <stdio.h>#define DELAY 1000000Lint main( void ){

long i;

while ( 1==1 ) {printf("A");for ( i=1; i < DELAY ; i++ ) ;printf("\tn");for ( i=1; i < DELAY ; i++ ) ;printf("\td");for ( i=1; i < DELAY ; i++ ) ;printf("\te");for ( i=1; i < DELAY ; i++ ) ;printf("\tr");for ( i=1; i < DELAY ; i++ ) ;printf("\ts");for ( i=1; i < DELAY ; i++ ) ;printf("\r \t \t \t \t \t \r");for ( i=1; i < DELAY ; i++ ) ;

}return 0;

}

Page 2: Iteration  i C ”upprepa”

Bild 2

Iteration i C”upprepa”

#include <stdio.h>#define DELAY 1000000Lint main( void ){

long i;

while ( 1==1 ) {printf("A");for ( i=1; i < DELAY ; i++ ) ;printf("\tn");for ( i=1; i < DELAY ; i++ ) ;printf("\td");for ( i=1; i < DELAY ; i++ ) ;printf("\te");for ( i=1; i < DELAY ; i++ ) ;printf("\tr");for ( i=1; i < DELAY ; i++ ) ;printf("\ts");for ( i=1; i < DELAY ; i++ ) ;printf("\r \t \t \t \t \t \r");for ( i=1; i < DELAY ; i++ ) ;

}return 0;

}

Page 3: Iteration  i C ”upprepa”

Bild 3

Iteration i C”upprepa”

#include <stdio.h>#define DELAY 1000000Lint main( void ){

long i;

while ( 1==1 ) {printf("A");for ( i=1; i < DELAY ; i++ ) ;printf("\tn");for ( i=1; i < DELAY ; i++ ) ;printf("\td");for ( i=1; i < DELAY ; i++ ) ;printf("\te");for ( i=1; i < DELAY ; i++ ) ;printf("\tr");for ( i=1; i < DELAY ; i++ ) ;printf("\ts");for ( i=1; i < DELAY ; i++ ) ;printf("\r \t \t \t \t \t \r");for ( i=1; i < DELAY ; i++ ) ;

}return 0;

}

Page 4: Iteration  i C ”upprepa”

Bild 4

Iteration i C”upprepa”

#include <stdio.h>#define DELAY 1000000Lint main( void ){

long i;

while ( 1==1 ) {printf("A");for ( i=1; i < DELAY ; i++ ) ;printf("\tn");for ( i=1; i < DELAY ; i++ ) ;printf("\td");for ( i=1; i < DELAY ; i++ ) ;printf("\te");for ( i=1; i < DELAY ; i++ ) ;printf("\tr");for ( i=1; i < DELAY ; i++ ) ;printf("\ts");for ( i=1; i < DELAY ; i++ ) ;printf("\r \t \t \t \t \t \r");for ( i=1; i < DELAY ; i++ ) ;

}return 0;

}

Page 5: Iteration  i C ”upprepa”

Bild 5

Iteration i C”upprepa”

#include <stdio.h>#define DELAY 1000000Lint main( void ){

long i;

while ( 1==1 ) {printf("A");for ( i=1; i < DELAY ; i++ ) ;printf("\tn");for ( i=1; i < DELAY ; i++ ) ;printf("\td");for ( i=1; i < DELAY ; i++ ) ;printf("\te");for ( i=1; i < DELAY ; i++ ) ;printf("\tr");for ( i=1; i < DELAY ; i++ ) ;printf("\ts");for ( i=1; i < DELAY ; i++ ) ;printf("\r \t \t \t \t \t \r");for ( i=1; i < DELAY ; i++ ) ;

}return 0;

}

Page 6: Iteration  i C ”upprepa”

Bild 6

Iteration i C”upprepa”

#include <stdio.h>#define DELAY 1000000Lint main( void ){

long i;

while ( 1==1 ) {printf("A");for ( i=1; i < DELAY ; i++ ) ;printf("\tn");for ( i=1; i < DELAY ; i++ ) ;printf("\td");for ( i=1; i < DELAY ; i++ ) ;printf("\te");for ( i=1; i < DELAY ; i++ ) ;printf("\tr");for ( i=1; i < DELAY ; i++ ) ;printf("\ts");for ( i=1; i < DELAY ; i++ ) ;printf("\r \t \t \t \t \t \r");for ( i=1; i < DELAY ; i++ ) ;

}return 0;

}

Page 7: Iteration  i C ”upprepa”

Bild 7

Iteration i C”upprepa”

#include <stdio.h>#define DELAY 1000000Lint main( void ){

long i;

while ( 1==1 ) {printf("A");for ( i=1; i < DELAY ; i++ ) ;printf("\tn");for ( i=1; i < DELAY ; i++ ) ;printf("\td");for ( i=1; i < DELAY ; i++ ) ;printf("\te");for ( i=1; i < DELAY ; i++ ) ;printf("\tr");for ( i=1; i < DELAY ; i++ ) ;printf("\ts");for ( i=1; i < DELAY ; i++ ) ;printf("\r \t \t \t \t \t \r");for ( i=1; i < DELAY ; i++ ) ;

}return 0;

}

Page 8: Iteration  i C ”upprepa”

Bild 8

Iteration i C”upprepa”

#include <stdio.h>#define DELAY 1000000Lint main( void ){

long i;

while ( 1==1 ) {printf("A");for ( i=1; i < DELAY ; i++ ) ;printf("\tn");for ( i=1; i < DELAY ; i++ ) ;printf("\td");for ( i=1; i < DELAY ; i++ ) ;printf("\te");for ( i=1; i < DELAY ; i++ ) ;printf("\tr");for ( i=1; i < DELAY ; i++ ) ;printf("\ts");for ( i=1; i < DELAY ; i++ ) ;printf("\r \t \t \t \t \t \r");for ( i=1; i < DELAY ; i++ ) ;

}return 0;

}

Page 9: Iteration  i C ”upprepa”

Bild 9

Iteration i C”upprepa”

#include <stdio.h>#define DELAY 1000000Lint main( void ){

long i;

while ( 1==1 ) {printf("A");for ( i=1; i < DELAY ; i++ ) ;printf("\tn");for ( i=1; i < DELAY ; i++ ) ;printf("\td");for ( i=1; i < DELAY ; i++ ) ;printf("\te");for ( i=1; i < DELAY ; i++ ) ;printf("\tr");for ( i=1; i < DELAY ; i++ ) ;printf("\ts");for ( i=1; i < DELAY ; i++ ) ;printf("\r \t \t \t \t \t \r");for ( i=1; i < DELAY ; i++ ) ;

}return 0;

}

Page 10: Iteration  i C ”upprepa”

Bild 10

Iteration i C”upprepa”

#include <stdio.h>#define DELAY 1000000Lint main( void ){

long i;

while ( 1==1 ) {printf("A");for ( i=1; i < DELAY ; i++ ) ;printf("\tn");for ( i=1; i < DELAY ; i++ ) ;printf("\td");for ( i=1; i < DELAY ; i++ ) ;printf("\te");for ( i=1; i < DELAY ; i++ ) ;printf("\tr");for ( i=1; i < DELAY ; i++ ) ;printf("\ts");for ( i=1; i < DELAY ; i++ ) ;printf("\r \t \t \t \t \t \r");for ( i=1; i < DELAY ; i++ ) ;

}return 0;

}

Page 11: Iteration  i C ”upprepa”

Bild 11

Iteration i C”upprepa”

#include <stdio.h>#define DELAY 1000000Lint main( void ){

long i;

while ( 1==1 ) {printf("A");for ( i=1; i < DELAY ; i++ ) ;printf("\tn");for ( i=1; i < DELAY ; i++ ) ;printf("\td");for ( i=1; i < DELAY ; i++ ) ;printf("\te");for ( i=1; i < DELAY ; i++ ) ;printf("\tr");for ( i=1; i < DELAY ; i++ ) ;printf("\ts");for ( i=1; i < DELAY ; i++ ) ;printf("\r \t \t \t \t \t \r");for ( i=1; i < DELAY ; i++ ) ;

}return 0;

}

Page 12: Iteration  i C ”upprepa”

Bild 12

Iteration i C”upprepa”

#include <stdio.h>#define DELAY 1000000Lint main( void ){

long i;

while ( 1==1 ) {printf("A");for ( i=1; i < DELAY ; i++ ) ;printf("\tn");for ( i=1; i < DELAY ; i++ ) ;printf("\td");for ( i=1; i < DELAY ; i++ ) ;printf("\te");for ( i=1; i < DELAY ; i++ ) ;printf("\tr");for ( i=1; i < DELAY ; i++ ) ;printf("\ts");for ( i=1; i < DELAY ; i++ ) ;printf("\r \t \t \t \t \t \r");for ( i=1; i < DELAY ; i++ ) ;

}return 0;

}

Page 13: Iteration  i C ”upprepa”

Bild 13

Iteration i C”upprepa”

#include <stdio.h>#define DELAY 1000000Lint main( void ){

long i;

while ( 1==1 ) {printf("A");for ( i=1; i < DELAY ; i++ ) ;printf("\tn");for ( i=1; i < DELAY ; i++ ) ;printf("\td");for ( i=1; i < DELAY ; i++ ) ;printf("\te");for ( i=1; i < DELAY ; i++ ) ;printf("\tr");for ( i=1; i < DELAY ; i++ ) ;printf("\ts");for ( i=1; i < DELAY ; i++ ) ;printf("\r \t \t \t \t \t \r");for ( i=1; i < DELAY ; i++ ) ;

}return 0;

}

Page 14: Iteration  i C ”upprepa”

Bild 14

Iteration i C”upprepa”

#include <stdio.h>#define DELAY 1000000Lint main( void ){

long i;

while ( 1==1 ) {printf("A");for ( i=1; i < DELAY ; i++ ) ;printf("\tn");for ( i=1; i < DELAY ; i++ ) ;printf("\td");for ( i=1; i < DELAY ; i++ ) ;printf("\te");for ( i=1; i < DELAY ; i++ ) ;printf("\tr");for ( i=1; i < DELAY ; i++ ) ;printf("\ts");for ( i=1; i < DELAY ; i++ ) ;printf("\r \t \t \t \t \t \r");for ( i=1; i < DELAY ; i++ ) ;

}return 0;

}

Page 15: Iteration  i C ”upprepa”

Bild 15

Iteration i C”upprepa”

#include <stdio.h>#define DELAY 1000000Lint main( void ){

long i;

while ( 1==1 ) {printf("A");for ( i=1; i < DELAY ; i++ ) ;printf("\tn");for ( i=1; i < DELAY ; i++ ) ;printf("\td");for ( i=1; i < DELAY ; i++ ) ;printf("\te");for ( i=1; i < DELAY ; i++ ) ;printf("\tr");for ( i=1; i < DELAY ; i++ ) ;printf("\ts");for ( i=1; i < DELAY ; i++ ) ;printf("\r \t \t \t \t \t \r");for ( i=1; i < DELAY ; i++ ) ;

}return 0;

}

Page 16: Iteration  i C ”upprepa”

Bild 16

Iteration i C”upprepa”

#include <stdio.h>#define DELAY 1000000Lint main( void ){

long i;

while ( 1==1 ) {printf("A");for ( i=1; i < DELAY ; i++ ) ;printf("\tn");for ( i=1; i < DELAY ; i++ ) ;printf("\td");for ( i=1; i < DELAY ; i++ ) ;printf("\te");for ( i=1; i < DELAY ; i++ ) ;printf("\tr");for ( i=1; i < DELAY ; i++ ) ;printf("\ts");for ( i=1; i < DELAY ; i++ ) ;printf("\r \t \t \t \t \t \r");for ( i=1; i < DELAY ; i++ ) ;

}return 0;

}

Page 17: Iteration  i C ”upprepa”

Bild 17

Iteration i C”upprepa”

#include <stdio.h>#define DELAY 1000000Lint main( void ){

long i;

while ( 1==1 ) {printf("A");for ( i=1; i < DELAY ; i++ ) ;printf("\tn");for ( i=1; i < DELAY ; i++ ) ;printf("\td");for ( i=1; i < DELAY ; i++ ) ;printf("\te");for ( i=1; i < DELAY ; i++ ) ;printf("\tr");for ( i=1; i < DELAY ; i++ ) ;printf("\ts");for ( i=1; i < DELAY ; i++ ) ;printf("\r \t \t \t \t \t \r");for ( i=1; i < DELAY ; i++ ) ;

}return 0;

}

Page 18: Iteration  i C ”upprepa”

Bild 18

Iteration i C”upprepa”

#include <stdio.h>#define DELAY 1000000Lint main( void ){

long i;

while ( 1==1 ) {printf("A");for ( i=1; i < DELAY ; i++ ) ;printf("\tn");for ( i=1; i < DELAY ; i++ ) ;printf("\td");for ( i=1; i < DELAY ; i++ ) ;printf("\te");for ( i=1; i < DELAY ; i++ ) ;printf("\tr");for ( i=1; i < DELAY ; i++ ) ;printf("\ts");for ( i=1; i < DELAY ; i++ ) ;printf("\r \t \t \t \t \t \r");for ( i=1; i < DELAY ; i++ ) ;

}return 0;

}

Page 19: Iteration  i C ”upprepa”

Bild 19

Iteration i C”upprepa”

#include <stdio.h>#define DELAY 1000000Lint main( void ){

long i;

while ( 1==1 ) {printf("A");for ( i=1; i < DELAY ; i++ ) ;printf("\tn");for ( i=1; i < DELAY ; i++ ) ;printf("\td");for ( i=1; i < DELAY ; i++ ) ;printf("\te");for ( i=1; i < DELAY ; i++ ) ;printf("\tr");for ( i=1; i < DELAY ; i++ ) ;printf("\ts");for ( i=1; i < DELAY ; i++ ) ;printf("\r \t \t \t \t \t \r");for ( i=1; i < DELAY ; i++ ) ;

}return 0;

}

Page 20: Iteration  i C ”upprepa”

Bild 20

Iteration i C”upprepa”

#include <stdio.h>#define DELAY 1000000Lint main( void ){

long i;

while ( 1==1 ) {printf("A");for ( i=1; i < DELAY ; i++ ) ;printf("\tn");for ( i=1; i < DELAY ; i++ ) ;printf("\td");for ( i=1; i < DELAY ; i++ ) ;printf("\te");for ( i=1; i < DELAY ; i++ ) ;printf("\tr");for ( i=1; i < DELAY ; i++ ) ;printf("\ts");for ( i=1; i < DELAY ; i++ ) ;printf("\r \t \t \t \t \t \r");for ( i=1; i < DELAY ; i++ ) ;

}return 0;

}

Page 21: Iteration  i C ”upprepa”

Bild 21

Iteration i C”upprepa”

#include <stdio.h>#define DELAY 1000000Lint main( void ){

long i;

while ( 1==1 ) {printf("A");for ( i=1; i < DELAY ; i++ ) ;printf("\tn");for ( i=1; i < DELAY ; i++ ) ;printf("\td");for ( i=1; i < DELAY ; i++ ) ;printf("\te");for ( i=1; i < DELAY ; i++ ) ;printf("\tr");for ( i=1; i < DELAY ; i++ ) ;printf("\ts");for ( i=1; i < DELAY ; i++ ) ;printf("\r \t \t \t \t \t \r");for ( i=1; i < DELAY ; i++ ) ;

}return 0;

}

Page 22: Iteration  i C ”upprepa”

Bild 22

Iteration i C”upprepa”

#include <stdio.h>#define DELAY 1000000Lint main( void ){

long i;

while ( 1==1 ) {printf("A");for ( i=1; i < DELAY ; i++ ) ;printf("\tn");for ( i=1; i < DELAY ; i++ ) ;printf("\td");for ( i=1; i < DELAY ; i++ ) ;printf("\te");for ( i=1; i < DELAY ; i++ ) ;printf("\tr");for ( i=1; i < DELAY ; i++ ) ;printf("\ts");for ( i=1; i < DELAY ; i++ ) ;printf("\r \t \t \t \t \t \r");for ( i=1; i < DELAY ; i++ ) ;

}return 0;

}

Page 23: Iteration  i C ”upprepa”

Bild 23

Iteration i C”upprepa”

#include <stdio.h>#define DELAY 1000000Lint main( void ){

long i;

while ( 1==1 ) {printf("A");for ( i=1; i < DELAY ; i++ ) ;printf("\tn");for ( i=1; i < DELAY ; i++ ) ;printf("\td");for ( i=1; i < DELAY ; i++ ) ;printf("\te");for ( i=1; i < DELAY ; i++ ) ;printf("\tr");for ( i=1; i < DELAY ; i++ ) ;printf("\ts");for ( i=1; i < DELAY ; i++ ) ;printf("\r \t \t \t \t \t \r");for ( i=1; i < DELAY ; i++ ) ;

}return 0;

}

Page 24: Iteration  i C ”upprepa”

Bild 24

Iteration i C”upprepa”

#include <stdio.h>#define DELAY 1000000Lint main( void ){

long i;

while ( 1==1 ) {printf("A");for ( i=1; i < DELAY ; i++ ) ;printf("\tn");for ( i=1; i < DELAY ; i++ ) ;printf("\td");for ( i=1; i < DELAY ; i++ ) ;printf("\te");for ( i=1; i < DELAY ; i++ ) ;printf("\tr");for ( i=1; i < DELAY ; i++ ) ;printf("\ts");for ( i=1; i < DELAY ; i++ ) ;printf("\r \t \t \t \t \t \r");for ( i=1; i < DELAY ; i++ ) ;

}return 0;

}

Page 25: Iteration  i C ”upprepa”

Bild 25

Iteration i C”upprepa”

#include <stdio.h>#define DELAY 1000000Lint main( void ){

long i;

while ( 1==1 ) {printf("A");for ( i=1; i < DELAY ; i++ ) ;printf("\tn");for ( i=1; i < DELAY ; i++ ) ;printf("\td");for ( i=1; i < DELAY ; i++ ) ;printf("\te");for ( i=1; i < DELAY ; i++ ) ;printf("\tr");for ( i=1; i < DELAY ; i++ ) ;printf("\ts");for ( i=1; i < DELAY ; i++ ) ;printf("\r \t \t \t \t \t \r");for ( i=1; i < DELAY ; i++ ) ;

}return 0;

}

Page 26: Iteration  i C ”upprepa”

Bild 26

Iteration i C”upprepa”

#include <stdio.h>#define DELAY 1000000Lint main( void ){

long i;

while ( 1==1 ) {printf("A");for ( i=1; i < DELAY ; i++ ) ;printf("\tn");for ( i=1; i < DELAY ; i++ ) ;printf("\td");for ( i=1; i < DELAY ; i++ ) ;printf("\te");for ( i=1; i < DELAY ; i++ ) ;printf("\tr");for ( i=1; i < DELAY ; i++ ) ;printf("\ts");for ( i=1; i < DELAY ; i++ ) ;printf("\r \t \t \t \t \t \r");for ( i=1; i < DELAY ; i++ ) ;

}return 0;

}

Page 27: Iteration  i C ”upprepa”

Bild 27

Iteration i C”upprepa”

#include <stdio.h>#define DELAY 1000000Lint main( void ){

long i;

while ( 1==1 ) {printf("A");for ( i=1; i < DELAY ; i++ ) ;printf("\tn");for ( i=1; i < DELAY ; i++ ) ;printf("\td");for ( i=1; i < DELAY ; i++ ) ;printf("\te");for ( i=1; i < DELAY ; i++ ) ;printf("\tr");for ( i=1; i < DELAY ; i++ ) ;printf("\ts");for ( i=1; i < DELAY ; i++ ) ;printf("\r \t \t \t \t \t \r");for ( i=1; i < DELAY ; i++ ) ;

}return 0;

}

Page 28: Iteration  i C ”upprepa”

Bild 28

Iteration i C”upprepa”

#include <stdio.h>#define DELAY 1000000Lint main( void ){

long i;

while ( 1==1 ) {printf("A");for ( i=1; i < DELAY ; i++ ) ;printf("\tn");for ( i=1; i < DELAY ; i++ ) ;printf("\td");for ( i=1; i < DELAY ; i++ ) ;printf("\te");for ( i=1; i < DELAY ; i++ ) ;printf("\tr");for ( i=1; i < DELAY ; i++ ) ;printf("\ts");for ( i=1; i < DELAY ; i++ ) ;printf("\r \t \t \t \t \t \r");for ( i=1; i < DELAY ; i++ ) ;

}return 0;

}

Page 29: Iteration  i C ”upprepa”

Bild 29

Iteration i C”upprepa”

#include <stdio.h>#define DELAY 1000000Lint main( void ){

long i;

while ( 1==1 ) {printf("A");for ( i=1; i < DELAY ; i++ ) ;printf("\tn");for ( i=1; i < DELAY ; i++ ) ;printf("\td");for ( i=1; i < DELAY ; i++ ) ;printf("\te");for ( i=1; i < DELAY ; i++ ) ;printf("\tr");for ( i=1; i < DELAY ; i++ ) ;printf("\ts");for ( i=1; i < DELAY ; i++ ) ;printf("\r \t \t \t \t \t \r");for ( i=1; i < DELAY ; i++ ) ;

}return 0;

}