Strict Standards: Non-static method utf_normalizer::nfkc() should not be called statically in /home/mati/domains/forum.programosy.pl/public_html/includes/utf/utf_tools.php on line 1663

Strict Standards: Non-static method utf_normalizer::nfkc() should not be called statically in /home/mati/domains/forum.programosy.pl/public_html/includes/utf/utf_tools.php on line 1663

Strict Standards: Non-static method utf_normalizer::nfkc() should not be called statically in /home/mati/domains/forum.programosy.pl/public_html/includes/utf/utf_tools.php on line 1663

Strict Standards: Non-static method utf_normalizer::nfkc() should not be called statically in /home/mati/domains/forum.programosy.pl/public_html/includes/utf/utf_tools.php on line 1663

Strict Standards: Non-static method utf_normalizer::nfkc() should not be called statically in /home/mati/domains/forum.programosy.pl/public_html/includes/utf/utf_tools.php on line 1663

Strict Standards: Non-static method utf_normalizer::nfkc() should not be called statically in /home/mati/domains/forum.programosy.pl/public_html/includes/utf/utf_tools.php on line 1663

Strict Standards: Non-static method utf_normalizer::nfkc() should not be called statically in /home/mati/domains/forum.programosy.pl/public_html/includes/utf/utf_tools.php on line 1663

Strict Standards: Non-static method utf_normalizer::nfkc() should not be called statically in /home/mati/domains/forum.programosy.pl/public_html/includes/utf/utf_tools.php on line 1663

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/mati/domains/forum.programosy.pl/public_html/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/mati/domains/forum.programosy.pl/public_html/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/mati/domains/forum.programosy.pl/public_html/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/mati/domains/forum.programosy.pl/public_html/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/mati/domains/forum.programosy.pl/public_html/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/mati/domains/forum.programosy.pl/public_html/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/mati/domains/forum.programosy.pl/public_html/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/mati/domains/forum.programosy.pl/public_html/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/mati/domains/forum.programosy.pl/public_html/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/mati/domains/forum.programosy.pl/public_html/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/mati/domains/forum.programosy.pl/public_html/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/mati/domains/forum.programosy.pl/public_html/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/mati/domains/forum.programosy.pl/public_html/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/mati/domains/forum.programosy.pl/public_html/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/mati/domains/forum.programosy.pl/public_html/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/mati/domains/forum.programosy.pl/public_html/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/mati/domains/forum.programosy.pl/public_html/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/mati/domains/forum.programosy.pl/public_html/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/mati/domains/forum.programosy.pl/public_html/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/mati/domains/forum.programosy.pl/public_html/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/mati/domains/forum.programosy.pl/public_html/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/mati/domains/forum.programosy.pl/public_html/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/mati/domains/forum.programosy.pl/public_html/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/mati/domains/forum.programosy.pl/public_html/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/mati/domains/forum.programosy.pl/public_html/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/mati/domains/forum.programosy.pl/public_html/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/mati/domains/forum.programosy.pl/public_html/includes/bbcode.php on line 112

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 27

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 28

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 29

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 30

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 31

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 32

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 33

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 35

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 36

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 37

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 38

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 39

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 40

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 41

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 42

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 43

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 44

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 45

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 47

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 48

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 49

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 50

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 51

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 52

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 53

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 54

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 55

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 56

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 80

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 81

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 82

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 83

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 84

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 85

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 86

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 87

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 88

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 89

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 90

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 91

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 92

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 93

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 94

Strict Standards: Non-static method utf_normalizer::nfkc() should not be called statically in /home/mati/domains/forum.programosy.pl/public_html/includes/utf/utf_tools.php on line 1663

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 27

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 28

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 29

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 30

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 31

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 32

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 33

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 35

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 36

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 37

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 38

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 39

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 40

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 41

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 42

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 43

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 44

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 45

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 47

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 48

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 49

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 50

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 51

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 52

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 53

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 54

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 55

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 56

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 80

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 81

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 82

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 83

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 84

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 85

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 86

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 87

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 88

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 89

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 90

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 91

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 92

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 93

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 94

Strict Standards: Non-static method utf_normalizer::nfkc() should not be called statically in /home/mati/domains/forum.programosy.pl/public_html/includes/utf/utf_tools.php on line 1663

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/mati/domains/forum.programosy.pl/public_html/includes/bbcode.php on line 112

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 27

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 28

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 29

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 30

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 31

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 32

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 33

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 35

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 36

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 37

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 38

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 39

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 40

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 41

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 42

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 43

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 44

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 45

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 47

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 48

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 49

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 50

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 51

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 52

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 53

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 54

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 55

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 56

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 80

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 81

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 82

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 83

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 84

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 85

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 86

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 87

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 88

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 89

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 90

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 91

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 92

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 93

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 94

Strict Standards: Non-static method utf_normalizer::nfkc() should not be called statically in /home/mati/domains/forum.programosy.pl/public_html/includes/utf/utf_tools.php on line 1663

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 27

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 28

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 29

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 30

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 31

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 32

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 33

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 35

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 36

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 37

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 38

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 39

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 40

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 41

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 42

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 43

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 44

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 45

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 47

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 48

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 49

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 50

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 51

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 52

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 53

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 54

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 55

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 56

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 80

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 81

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 82

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 83

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 84

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 85

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 86

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 87

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 88

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 89

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 90

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 91

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 92

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 93

Deprecated: Function eregi() is deprecated in /home/mati/domains/forum.programosy.pl/public_html/includes/functions_gfxua.php on line 94

Strict Standards: Non-static method utf_normalizer::nfkc() should not be called statically in /home/mati/domains/forum.programosy.pl/public_html/includes/utf/utf_tools.php on line 1663
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3900: Cannot modify header information - headers already sent by (output started at /includes/bbcode.php:483)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3902: Cannot modify header information - headers already sent by (output started at /includes/bbcode.php:483)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3903: Cannot modify header information - headers already sent by (output started at /includes/bbcode.php:483)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3904: Cannot modify header information - headers already sent by (output started at /includes/bbcode.php:483)
Pomoc w dodaniu funkcji w programie • programosy.pl

  • Ogłoszenie:

Pomoc w dodaniu funkcji w programie

Tutaj można umieszczać wszystkie sensowne tematy nie pasujące do reszty działów tematycznych. Siadaj, gadaj, opowiadaj ;)

Pomoc w dodaniu funkcji w programie

Postprzez Achitas 06 Sty 2010, 20:46

Witam , zrobiłem taki oto program :
Kod: Zaznacz wszystko
#include <vcl.h>
#pragma hdrstop
#include <iostream.h>
#include <conio.h>
#pragma argsused
#include <stdlib.h>
//---------------------------------------------------------------------------

//deklaracja klasy Auto
class Auto
  {
  //sekcja publiczna
  public:
  int pytanie(int p);
  void wiersz3();
  void wiersz2();
  void wiersz1();
  void logo();
  void spis();
  void pisz();
  void liczba();
  void mincena();
  void maxcena();
  void przedzialcenowy();
  void maxrok();
  void minrok();
  void przedzialrok();
  void maxpoj();
  void minpoj();
  void przedzialpoj();
  void minmoc();
  void maxmoc();
  void przedzialmoc();
  void drzwi1();
  void warunek();
  //sekcja prywatna
  private:
  int tab[8][50];
  int pozW;
  int marka;
  int cena;
  int rok;
  int poj;
  int moc;
  int drzwi;
  int wiersz;
  int poz;
  int war;
  };




//*********************************logo*********************************

  void Auto::logo()
  {
  cout<<"   ==================================================\n";
  cout<<"   =    A A A A  U     U  T T T T T  O O O O        =\n";
  cout<<"   =    A     A  U     U      T      O     O        =\n";
  cout<<"   =    A     A  U     U      T      O     O        =\n";
  cout<<"   =    A A A A  U     U      T      O     O        =\n";
  cout<<"   =    A     A  U     U      T      O     O        =\n";
  cout<<"   =    A     A  U     U      T      O     O        =\n";
  cout<<"   =    A     A  U     U      T      O     O        =\n";
  cout<<"   =    A     A  U U U U      T      O O O O        =\n";
  cout<<"   ==================================================\n\n";;
  }

//*********************************menu programu*********************************

  void Auto::spis()
  {
  cout<<"\t\t1- Pokaz samochody znajdujace sie w komisie\n\t\t~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n";
  cout<<"\t\t2- Samochod z najnizsza cena\n\t\t~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n";
  cout<<"\t\t3- Samochod z najwyzsza cena\n\t\t~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n";
  cout<<"\t\t4- Wybrany przedzial cenowy\n\t\t~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n";
  cout<<"\t\t5- Najmlodszy rocznik\n\t\t~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n";
  cout<<"\t\t6- Najstarszy rocznik\n\t\t~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n";
  cout<<"\t\t7- Przedzial wiekowy\n\t\t~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n";
  cout<<"\t\t8- Najwieksza pojemnosc silnika\n\t\t~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n";
  cout<<"\t\t9- Najmniejsza pojemnosc silnika\n\t\t~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n";
  cout<<"\t\t10- Pojemnosc silnika\n\t\t~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n";
  cout<<"\t\t11- Najmniejsza moc pojazdu\n\t\t~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n";
  cout<<"\t\t12- Najwieksza moc pojazdu\n\t\t~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n";
  cout<<"\t\t13- Wybor samochodu ze wzgledu na moc\n\t\t~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n";
  cout<<"\t\t14- Wybor samochodu ze wzgledu na liczbe drzwi\n\t\t~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n";
  cout<<"\t\t15- Wyjscie\n\t\t~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\n\t";
  }

//*********************************wiersz*********************************

  void Auto::wiersz1()
  {
  wiersz=45;
  }
  void Auto::wiersz2()
  {
  wiersz=wiersz+1;
  }
  void Auto::wiersz3()
  {
  wiersz=wiersz-1;
  }

//*********************************losuje  tablice samochodów*********************************

  void Auto::liczba()
  {
  int l;
  for(int w=0;w<wiersz;w++)
    {
//*********************************Marka********************************
  for(int k=0;k<1;k++)
  {


//*********************************Cena*********************************

  for(int k=0;k<1;k++)
    {
    cena=random(8500)+1500;
    tab[k][w]=cena;
    }

//*********************************ROCZNIK*********************************

  for(int k=1;k<2;k++)
    {
    rok=random(40)+1970;
    tab[k][w]=rok;
    }

//-----------------------  POJEMNOŚĆ SILNIKA k2  ---------------------------

  for(int k=2;k<3;k++)
    {
    poj=random(5000)+1400;
    tab[k][w]=poj;
    }

//-----------------------  MOC  k3  ----------------------------------------

  for(int k=3;k<4;k++)
    {
    moc=random(330)+70;
    tab[k][w]=moc;
    }

//-----------------------  Liczba drzwi k4  --------------------------------

  for(int k=4;k<5;k++)
    {
    tu:
    drzwi=random(3)+3;
    tab[k][w]=drzwi;
    if(drzwi==4) goto tu;
    }
  }
}

//--------------------------  Pisze tablice---------------------------------

  void Auto::pisz()
  {
  cout<<"\t\n\t";
  for(int w=0;w<wiersz;w++)
    {

//-----------------------  CENA k0 -----------------------------------------

  for(int k=0;k<1;k++)
    {
    cout<<tab[k][w]<<" zl | ";
    }

//-----------------------  ROCZNIK k1  -------------------------------------

  for(int k=1;k<2;k++)
    {
    cout<<tab[k][w]<<" r | ";
    }

//-----------------------  POJEMNOŚĆ SILNIKA k2  ---------------------------

  for(int k=2;k<3;k++)
    {
    cout<<tab[k][w]<<" mm^3 | ";
    }

//-----------------------  MOC  k3  ----------------------------------------

  for(int k=3;k<4;k++)
    {
    cout<<tab[k][w]<<" kM | ";
    }

//-----------------------  Liczba drzwi k4  --------------------------------

  for(int k=4;k<5;k++)
    {
    cout<<tab[k][w]<<" l.drzwi | ";
    }
    cout<<"\n        ------------------------------------------------------------------------\n"<<"\t";
  }
}

//--------------------------------- najniższa cena -----------------------

  void Auto::mincena()
  {
  cout<<"najtanszy samocho to: \n\n\t";
  int min=11000;
  for(int k=0;k<1;k++)
    {
    for(int w=0;w<wiersz;w++)
     {
     if(min>tab[k][w])
       {
       min=tab[k][w];
       pozW=w;
       }
     }
    }
    cout<<"cena samochodu- ** "<<tab[0][pozW]<<" zl ** \n\t^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\t";
    cout<<"rocznik- "<<tab[1][pozW]<<" r | \n\t^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\t";
    cout<<"pojemnosc- "<<tab[2][pozW]<<" mm^3 | \n\t^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\t";
    cout<<"moc- "<<tab[3][pozW]<<" kMh | \n\t^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\t";
    cout<<"Liczba drzwi- "<<tab[4][pozW]<<"| \n\t^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\t"<<"\n";

  }

//---------------------- MAX CENA -------------------------------------------

  void Auto::maxcena()
  {
  cout<<"najdrozszy samocho to: \n\n\t";
  int max=0;
  for(int k=0;k<1;k++)
     {
     for(int w=0;w<wiersz;w++)
       {
       if(max<tab[k][w])
       {
       max=tab[k][w];
       pozW=w;
       }
       }
     }
    cout<<"cena samochodu- ** "<<tab[0][pozW]<<" zl ** \n\t^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\t";
    cout<<"rocznik- "<<tab[1][pozW]<<" r | \n\t^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\t";
    cout<<"pojemnosc- "<<tab[2][pozW]<<" mm^3 | \n\t^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\t";
    cout<<"moc- "<<tab[3][pozW]<<" kMh | \n\t^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\t";
    cout<<"Liczba drzwi- "<<tab[4][pozW]<<"| \n\t^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\t"<<"\n";
  }

//-------------------------- przedzial cenowy -------------------------------

  void Auto::przedzialcenowy()
  {
  int minP;
  int maxP;
  cout<<"podaj przedzil cenowy od 1'500zl do 10'000zl \n\n\t";
  cout<<"Podaj pierwsza wartosc \n\n\t";
  cin>>minP;
  cout<<"\n\n\t"<<"Podaj druga wartosc\n\n\t";
  cin>>maxP;
  cout<<"\n\n\t  samocho z przedzialu to: \n\n\t";
  for(int k=0;k<1;k++)
    {
     for(int w=0;w<wiersz;w++)
     {
     if((maxP>tab[k][w])&&(minP<tab[k][w]))
     {
      pozW=w;
      cout<<tab[0][pozW]<<" zl | "<<tab[1][pozW]<<" r | "<<tab[2][pozW]<<" mm^3 | "<<tab[3][pozW]<<" kMh | "<<tab[4][pozW]<<" l.drzwi | "<<"\n\n\t";
     }
    }
  }
}

//---------------------- rocznik mlodszy--------------------------------------

  void Auto::maxrok()
  {
  cout<<"najdrozszy samochod    to: \n\n\t";
  int max=0;
  for(int k=1;k<2;k++)
   {
   for(int w=0;w<wiersz;w++)
     {
     if(max<tab[k][w])
       {
       max=tab[k][w];
       pozW=w;
       }
     }
   }
    cout<<"cena samochodu- "<<tab[0][pozW]<<" zl  \n\t^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\t";
    cout<<"rocznik- ** "<<tab[1][pozW]<<" r ** \n\t^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\t";
    cout<<"pojemnosc- "<<tab[2][pozW]<<" mm^3 | \n\t^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\t";
    cout<<"moc- "<<tab[3][pozW]<<" kMh | \n\t^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\t";
    cout<<"Liczba drzwi- "<<tab[4][pozW]<<"| \n\t^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\t"<<"\n";
  }

//--------------------- rocznik naj statszy --------------------------------

  void Auto::minrok()
  {
  cout<<"najstarszy samochod   to: \n\n\t";
  int min=11000;
  for(int k=1;k<2;k++)
   {
    for(int w=0;w<wiersz;w++)
      {
      if(min>tab[k][w])
        {
        min=tab[k][w];
        pozW=w;
        }
      }
   }
    cout<<"cena samochodu- "<<tab[0][pozW]<<" zl  \n\t^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\t";
    cout<<"rocznik- ** "<<tab[1][pozW]<<" r ** \n\t^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\t";
     cout<<"pojemnosc- "<<tab[2][pozW]<<" mm^3 | \n\t^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\t";
    cout<<"moc- "<<tab[3][pozW]<<" kMh | \n\t^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\t";
     cout<<"Liczba drzwi- "<<tab[4][pozW]<<"| \n\t^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\t"<<"\n";
  }

//--------------------------- przedział wiekowy -----------------------------

  void Auto::przedzialrok()
  {
  int minP;
  int maxP;
  cout<<"Podaj przedzial wiekowy od 1970r do 2009r \n\n\t";
  cout<<"Podaj pierwsza wartosc \n\n\t";
  cin>>minP;
  cout<<"\n\n\t"<<"Podaj druga wartosc\n\n\t";
  cin>>maxP;
  cout<<"\n\n\t Samochod z tego przedzialu to: \n\n\t";
  for(int k=1;k<2;k++)
    {
   for(int w=0;w<wiersz;w++)
     {
     if((maxP>tab[k][w])&&(minP<tab[k][w]))
        {
        pozW=w;
        cout<<tab[0][pozW]<<" zl || "<<tab[1][pozW]<<" r || "<<tab[2][pozW]<<" mm^3 | "<<tab[3][pozW]<<" kMh | "<<tab[4][pozW]<<" l.drzwi | "<<"\n\n\t";
        }
     }
    }
  }

//--------------------- max pojemnosc ---------------------------------------

  void Auto::maxpoj()
  {
  cout<<"Maksymalna pojemnosc : \n\n\t";
  int max=0;
  for(int k=2;k<3;k++)
    {
    for(int w=0;w<wiersz;w++)
     {
      if(max<tab[k][w])
        {
         max=tab[k][w];
         pozW=w;
        }
     }
    }
    cout<<"Cena samochodu- "<<tab[0][pozW]<<" zl  \n\t^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\t";
    cout<<"Rocznik-  "<<tab[1][pozW]<<" r  \n\t^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\t";
    cout<<"Pojemnosc silnika- ** "<<tab[2][pozW]<<" mm^3 ** \n\t^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\t";
    cout<<"Moc silnika- "<<tab[3][pozW]<<" kMh | \n\t^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\t";
    cout<<"Liczba drzwi- "<<tab[4][pozW]<<"| \n\t^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\t"<<"\n";
  }

//-------------------- minimalna pojemnosc -----------------------------------

  void Auto::minpoj()
  {
  cout<<"Najstarszy samochod : \n\n\t";
  int min=11000;
  for(int k=2;k<3;k++)
    {
    for(int w=0;w<wiersz;w++)
     {
     if(min>tab[k][w])
        {
        min=tab[k][w];
        pozW=w;
        }
     }
    }
    cout<<"Cena samochodu- "<<tab[0][pozW]<<" zl  \n\t^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\t";
    cout<<"Rocznik-  "<<tab[1][pozW]<<" r  \n\t^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\t";
    cout<<"Pojemnosc silnika- ** "<<tab[2][pozW]<<" mm^3 ** \n\t^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\t";
    cout<<"Moc silnika- "<<tab[3][pozW]<<" kMh | \n\t^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\t";
    cout<<"Liczba drzwi- "<<tab[4][pozW]<<"| \n\t^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\t"<<"\n";
  }

//--------------------------------------- przedział pojemnosci -----------------

  void Auto::przedzialpoj()
  {
  int minP;
  int maxP;
  cout<<"Podaj przedzial cenowy od 1'400 mm^3 do 6'400 mm^3 \n\n\t";
  cout<<"Podaj pierwsza wartosc \n\n\t";
  cin>>minP;
  cout<<"\n\n\t"<<"Podaj druga wartosc\n\n\t";
  cin>>maxP;
  cout<<"\n\n\t  Samochod z tego przedzialu to: \n\n\t";
  for(int k=2;k<3;k++)
    {
    for(int w=0;w<wiersz;w++)
     {
      if((maxP>tab[k][w])&&(minP<tab[k][w]))
        {
       pozW=w;
       cout<<tab[0][pozW]<<" zl | "<<tab[1][pozW]<<" r || "<<tab[2][pozW]<<" mm^3 || "<<tab[3][pozW]<<" kMh | "<<tab[4][pozW]<<" l.drzwi | "<<"\n\n\t";
        }
     }
   }
  }

//-------------------------------minimalna moc------------------------------

  void Auto::minmoc()
  {
  cout<<"Najmniejsza moc silnika : \n\n\t";
  int min=11000;
  for(int k=3;k<4;k++)
    {
    for(int w=0;w<wiersz;w++)
      {
      if(min>tab[k][w])
       {
       min=tab[k][w];
       pozW=w;
       }
     }
   }
   cout<<"Cena samochodu- "<<tab[0][pozW]<<" zl  \n\t^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\t";
   cout<<"Rocznik-  "<<tab[1][pozW]<<" r  \n\t^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\t";
   cout<<"Pojemnosc silnika-  "<<tab[2][pozW]<<" mm^3  \n\t^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\t";
   cout<<"Moc silnika- ** "<<tab[3][pozW]<<" kMh ** \n\t^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\t";
   cout<<"Liczba drzwi- "<<tab[4][pozW]<<"| \n\t^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\t"<<"\n";
  }

//----------------------------------  max moc  -------------------------------

  void Auto::maxmoc()
  {
  cout<<"Maksymalna moc silnika : \n\n\t";
  int max=0;
  for(int k=3;k<4;k++)
    {
    for(int w=0;w<wiersz;w++)
     {
     if(max<tab[k][w])
        {
       max=tab[k][w];
        pozW=w;
       }
     }
    }
    cout<<"Cena samochodu- "<<tab[0][pozW]<<" zl  \n\t^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\t";
    cout<<"Rocznik-  "<<tab[1][pozW]<<" r  \n\t^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\t";
    cout<<"Pojemnosc silnika-  "<<tab[2][pozW]<<" mm^3  \n\t^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\t";
    cout<<"Moc silnika- ** "<<tab[3][pozW]<<" kMh ** \n\t^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\t";
    cout<<"Liczba drzwi- "<<tab[4][pozW]<<"| \n\t^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\t"<<"\n";
}

//----------------------------------  przedzial mocy -------------------------

  void Auto::przedzialmoc()
  {
  int minP;
  int maxP;
  cout<<"Podaj przedzial od 70 kMh do 400 kMh \n\n\t";
  cout<<"Podaj pierwsza wartosc \n\n\t";
  cin>>minP;
  cout<<"\n\n\t"<<"Podaj druga wartosc\n\n\t";
  cin>>maxP;
  cout<<"\n\n\t  Samochod z tego przedzialu to: \n\n\t";
  for(int k=3;k<4;k++)
    {
    for(int w=0;w<wiersz;w++)
     {
     if((maxP>tab[k][w])&&(minP<tab[k][w]))
       {
       pozW=w;
        cout<<tab[0][pozW]<<" zl | "<<tab[1][pozW]<<" r | "<<tab[2][pozW]<<" mm^3 || "<<tab[3][pozW]<<" kMh || "<<tab[4][pozW]<<" l.drzwi | "<<"\n\n\t";
       }
     }
   }
  }

//---------------------------------- liczba drzwi ------------------------

  void Auto::drzwi1()
  {
  int poz1;
  int poz;
  cout<<"\tPodaj ilosc drzwi w samochodzie \n\t";
  cin>>drzwi;
  cout<<"\n\n\t";
  for(int k=4;k<5;k++)
    {
    for(int w=0;w<wiersz;w++)
       {
       if((drzwi==3)&&(tab[k][w]==drzwi))
         {
         poz=w;
         cout<<tab[0][poz]<<" zl | "<<tab[1][poz]<<" r | "<<tab[2][poz]<<" mm^3 | "<<tab[3][poz]<<" kMh || "<<tab[4][poz]<<" l.drzwi || "<<"\n\t___________________________\t\n";
        }
       if((drzwi==tab[k][w])&&(drzwi==5))
         {
         poz1=w;
         cout<<tab[0][poz1]<<" zl | "<<tab[1][poz1]<<" r | "<<tab[2][poz1]<<" mm^3 | "<<tab[3][poz1]<<" kMh || "<<tab[4][poz1]<<" l.drzwi || "<<"\n";
         }
       }
    }
  }

//-------------------------------pytanie----------------------------------

  int Auto::pytanie(int p)
    {
    cout<<"Wybierz odpowiadajacy Ci numer...    \n\t";
    cin>>p;
    cout<<"\n\t";
    return p;
    }

//---------------------------------------------------------------------------

  int main()
    {
  int p,a;
  Auto poczatek;
  poczatek.wiersz1();
  randomize();
  poczatek.liczba();

  tu:
  poczatek.logo();
  poczatek.spis();
  switch (poczatek.pytanie(p))
    {
    case 1:
      clrscr();
      poczatek.pisz();
      cout<<"\n\t Czy potrzebujesz jeszcze czegos?   1 - TAK 2 - NIE\n\t";
      cin>>a;
      if(a==1)   goto tu;
      if(a==2)
      exit(0);
      break;

//====================================
  case 2:
    clrscr();
    poczatek.mincena();
    cout<<"\n\t Czy potrzebujesz jeszcze czegos? 1 - TAK 2 - NIE\n\t";
    cin>>a;
    clrscr();
    if(a==1)   goto tu;
    if(a==2)
    exit(0);
    break;
//====================================
  case 3:
    clrscr();
    poczatek.maxcena();
    cout<<"\n\t Czy potrzebujesz jeszcze czegos? 1 - TAK 2 - NIE\n\t";
    cin>>a;
    clrscr();
    if(a==1)   goto tu;
    if(a==2)
    exit(0);
    break;
//====================================
  case 4:
    clrscr();
    poczatek.przedzialcenowy();
    cout<<"\n\t Czy potrzebujesz jeszcze czegos? 1 - TAK 2 - NIE\n\t";
    cin>>a;
    clrscr();
    if(a==1)   goto tu;
    if(a==2)
    exit(0);
    break;
//====================================
  case 5:
    clrscr();
    poczatek.maxrok();
    cout<<"\n\t Czy potrzebujesz jeszcze czegos? 1 - TAK 2 - NIE\n\t";
    cin>>a;
    clrscr();
    if(a==1)   goto tu;
    if(a==2)
    exit(0);
    break;
//====================================
  case 6:
    clrscr();
    poczatek.minrok();
    cout<<"\n\t Czy potrzebujesz jeszcze czegos? 1 - TAK 2 - NIE\n\t";
    cin>>a;
    clrscr();
    if(a==1)   goto tu;
    if(a==2)
    exit(0);
    break;
//====================================
  case 7:
    clrscr();
    poczatek.przedzialrok();
    cout<<"\n\t Czy potrzebujesz jeszcze czegos? 1 - TAK 2 - NIE\n\t";
    cin>>a;
    clrscr();
    if(a==1)   goto tu;
    if(a==2)
    exit(0);
    break;
//====================================
  case 8:
    clrscr();
    poczatek.maxpoj();
    cout<<"\n\t Czy potrzebujesz jeszcze czegos? 1 - TAK 2 - NIE\n\t";
    cin>>a;
    clrscr();
    if(a==1)   goto tu;
    if(a==2)
    exit(0);
    break;
//====================================
  case 9:
    clrscr();
    poczatek.minpoj();
    cout<<"\n\t Czy potrzebujesz jeszcze czegos? 1 - TAK 2 - NIE\n\t";
    cin>>a;
    clrscr();
    if(a==1)   goto tu;
    if(a==2)
    exit(0);
    break;
//====================================
  case 10:
    clrscr();
    poczatek.przedzialpoj();
    cout<<"\n\t Czy potrzebujesz jeszcze czegos? 1 - TAK 2 - NIE\n\t";
    cin>>a;
    clrscr();
    if(a==1)   goto tu;
    if(a==2)
    exit(0);
    break;
//====================================
  case 11:
    clrscr();
    poczatek.minmoc();
    cout<<"\n\t Czy potrzebujesz jeszcze czegos? 1 - TAK 2 - NIE\n\t";
    cin>>a;
    clrscr();
    if(a==1)   goto tu;
    if(a==2)
    exit(0);
    break;
//====================================
  case 12:
    clrscr();
    poczatek.maxmoc();
    cout<<"\n\t Czy potrzebujesz jeszcze czegos? 1 - TAK 2 - NIE\n\t";
    cin>>a;
    clrscr();
    if(a==1)   goto tu;
    if(a==2)
    exit(0);
    break;
//====================================
  case 13:
    clrscr();
    poczatek.przedzialmoc();
    cout<<"\n\t Czy potrzebujesz jeszcze czegos? 1 - TAK 2 - NIE\n\t";
    cin>>a;
    clrscr();
    if(a==1)   goto tu;
    if(a==2)
    exit(0);
    break;
//====================================
  case 14:
    clrscr();
    poczatek.drzwi1();
    cout<<"\n\t Czy potrzebujesz jeszcze czegos? 1 - TAK 2 - NIE\n\t";
    cin>>a;
    clrscr();
    if(a==1)   goto tu;
    if(a==2)
    exit(0);
    break;
//====================================

  case 15:
    exit(0);
    break;
}

  getch();
  return 0;
  }
//---------------------------------------------------------------------------


Brakuje mi jeszcze jedynie opcji aby ten program wyszukiwał mi samochody według nazwy tylko niewiem jak to zrobić , umiem aby wyszukał 2 marki samochodów ale nie więcej. Mam nadzieje że pomożecie
Edit: Podpis niezgodny z regulaminem (Mike)
Ty Jesteś Życiem, Szczęściem I Wiecznością... Słowem I Oddechem... Nigdy Nie Odchodź!
Najważniejsze jest, aby zachować poczucie humoru i zawsze być optymistą nawet w sytuacjach bez wyjścia - Bear Grylls podczas złamania kręgosłupa w 3 miejscach!
Awatar użytkownika
Achitas
~user
 
Posty: 1287
Dołączenie: 30 Sie 2007, 08:31
Miejscowość: Biała Podlaska :)
Pochwały: 3



Pomoc w dodaniu funkcji w programie

Postprzez Mynu 19 Lut 2010, 03:26

Dlaczego nie zrobisz po prostu bazy danych np. w Accessie :?:
Image
Awatar użytkownika
Mynu
~user
 
Posty: 34
Dołączenie: 10 Lip 2006, 17:10
Miejscowość: Wola
Pochwały: 1



Pomoc w dodaniu funkcji w programie

Postprzez kajtekjr 19 Lut 2010, 11:19

Mynu napisał(a):Dlaczego nie zrobisz po prostu bazy danych np. w Accessie :?:

Jest to prawdopodobnie zadanie w C++ do szkoły na przedmiot, który się nazywa Programowanie Obiektowe i Strukturalne w technikum na profilu technik informatyk. Miałem takie same w III klasie :P
Napisał praktycznie cały program sam więc nie ma mowy żeby zamykać temat za zadanie domowe.

Niestety ja nie pomogę bo miałem 3 z PSiO :P
Fotografia motoryzacyjna ---> WWW
Awatar użytkownika
kajtekjr
~user
 
Posty: 8079
Dołączenie: 06 Paź 2005, 15:39
Miejscowość: Września
Pochwały: 306



Pomoc w dodaniu funkcji w programie

Postprzez Achitas 19 Lut 2010, 12:04

Można zamknąć temat to mi było potrzebne połtora miesiąca temu. Poradziłem sobie już z nim sam dawno.
Edit: Podpis niezgodny z regulaminem (Mike)
Ty Jesteś Życiem, Szczęściem I Wiecznością... Słowem I Oddechem... Nigdy Nie Odchodź!
Najważniejsze jest, aby zachować poczucie humoru i zawsze być optymistą nawet w sytuacjach bez wyjścia - Bear Grylls podczas złamania kręgosłupa w 3 miejscach!
Awatar użytkownika
Achitas
~user
 
Posty: 1287
Dołączenie: 30 Sie 2007, 08:31
Miejscowość: Biała Podlaska :)
Pochwały: 3




Powróć do Pog@duchy

Kto jest na forum

Użytkownicy przeglądający to forum: Brak zarejestrowanych użytkowników oraz 1 gość