SlideShare a Scribd company logo
1 of 5
Download to read offline
H C
10:
.
1. char
2. O ASCII
3. char
.
1.
2. !
3. gets puts
4. " # string.h
$.
! " #
.
1. ! " # # $ char
C " # # $ char " % & " .
" & $ # " ! ' # # "
( !
) % % " 0 * 255.
+ " % ( "% , & "% $ ASCII
$# * , " % %
'" & $ # % , %,
" % , ($ "% ASCII.
- " " . :
char " % $ , $
char " % $ , $
$! " #
A.
2. ! "% ASCII
%! " #
% " % % "% $ ASCII. / # (
% " % .
.
A.
3. * " char
&! " #
* # $ :
ch ". . a "
# " :
0% $ % ASCII $# :
0% $ " :
! ' " % , " "
" $ & 1 &$& !
0"% " # " printf & " # # $ % %c.
) " "* :
char ch;
ch=97;
ch='a';
printf("%c",ch);
A.
3. * " char
'! " #
/ . " & " # % "$ " %,
" & C
/* char.c */
#include <stdio.h>
main()
{
char c;
for (c=80; c<=100; c++)
{
printf("nO xaraktiras %d einai %c",c,c);
}
}
* & "$ ASCII 128-255 " " # * c
unsigned char.
2.
1. / %
(! " #
" " " * & " % " % "
. % , # # % "
.
C &% # * " "% " . ) # $ :
* "% " 20 , " 19 $ .
3! ! 4! 0% " 19 $ ( 20) # "
" %, # 0 (slash # ).
" # & «hello» " $ . :
char str[20];
str[0] str[1] str[2] str[3]
…
str[4] str[5]
h e l l o 0
str[20]
2.
1. / %
)! " #
4 " % " % &% # $ " :
& $ " " % # . :
0"% & ( " , " * # " &$&
+ " " # " % * ( " # & 3
:
$ # * " $
# % , # " " " " ( " (
)
char pin[3]={'a','b','0'};
char pin[3]="ab";
char *pin="ab"; char pin[]="ab";
2.
2. 0 "$ %
*! " #
"$ ( printf) & $ ( scanf)
" % " # %s.
" " % " %!
% % "% $ , ( % "% ,
% # % # . .
) scanf # " " & .
" # & # * % :
/ "$ &% :
0 * # &% :
char string[100];
printf("%s",string);
scanf("%s",string);
2.
2. 0 "$ %
! " #
/ . " & & % # " *
«teststring» " «test string» (" * $ % )
# % " .
/* string.c: Deixnei tin xrisi tis scanf kai tis printf me
simvoloseires */
#include <stdio.h>
main()
{
char string[80];
printf("Dwste mia simboloseira: ");
scanf("%s",string);
printf("Pliktrologisate tin simvoloseira: %s",string);
}
2.
3. ! gets puts
! " #
' & % scanf, # , "
& & " & " * " & .
" " & ( , "
gets " " $ " :
4 " string "
# , " , " . 0%
:
%# %, puts " "*
" # $ " ‘n’:
"% %
char *gets(char *string)
int puts(char *string)
stdio.h
stdio.h
2.
4. 4 string.h
! " #
0%# % " * &$& .
0" # # % * % # # % C, % %
, :
" % %, " " " . & % * .
0 % %, "$ :
4 " % & ( src dest.
+ :
" ( " $ $ string.
5 # "
string.h
int strlen(char *string)
void strcpy(char *dest, char *src)
.
1.
$! " #
/ " $ $ ( # 0) (
.
+ % " $ " int mystrlen(char *s) " # $ %
" ( .
1 " & C, " % # , " % #
gets " " &%, "*
4 int strlen(char *s) " % string.h % * & "
" & ( " " $.
.
2. & ( *
%! " #
+ % " $ " char *mystrcpy(char *dest, char *src) " #
$ % # & ( src dest.
4 " ( # % dest.
1 " & C, " % # , " % # #
gets " #% % " & & & 1 " " #
" % % % . / "*
.
4 char *strcpy(char *dest, char *src) " % string.h % *
& " " & ( " " $.
.
3. " + ( %
&! " #
1 " & " # , " "
& % ( % "* "
6" # %. :
* % & (". . 150 $ )
" "% $ ASCII # (
" % ( % 32 * .
( % , " % %. "* %
"% ASCII & # % " % %.
" ( % " gets scanf & " & .
.
4. ( " % 0. #
'! " #
% 2 " $ "% ASCII (128-255) " "
" # " & " " % " % .
" & "* ( ,% " ):
Hello World!Hello World!
.
5. & *
(! " #
+ " & C " % :
7 # , # . ( " & " % &
" & )
7 " & " % ( & $ * "*
.
# & " :
Dwse tin 1i simvoloseira: test
Dwse tin 2i simvoloseira: abba
=====
Isxyei: abba < test
& " % int strcmp(char *s1, char *s2) string.h
" % "

More Related Content

What's hot

Оцифрованные дети
Оцифрованные детиОцифрованные дети
Оцифрованные дети
Andrei Mamontov
 
Hand Outs On the neurobiology of Touch and Trauma somatic experiencing from ...
Hand Outs On the neurobiology of Touch and Trauma  somatic experiencing from ...Hand Outs On the neurobiology of Touch and Trauma  somatic experiencing from ...
Hand Outs On the neurobiology of Touch and Trauma somatic experiencing from ...
Michael Changaris
 
Monthly report functional - may 2013
Monthly report   functional - may 2013Monthly report   functional - may 2013
Monthly report functional - may 2013
Leonardo Silveira
 
Independent Learning: The Internet and Its Implications for Education
Independent Learning: The Internet and Its Implications for EducationIndependent Learning: The Internet and Its Implications for Education
Independent Learning: The Internet and Its Implications for Education
Burton12j
 
Ico corporate presentation en
Ico corporate presentation enIco corporate presentation en
Ico corporate presentation en
Harpreet kaur
 

What's hot (20)

PCon 2016: Advanced Attribution & Predictive Customer Interaction (Dr. Alwin ...
PCon 2016: Advanced Attribution & Predictive Customer Interaction (Dr. Alwin ...PCon 2016: Advanced Attribution & Predictive Customer Interaction (Dr. Alwin ...
PCon 2016: Advanced Attribution & Predictive Customer Interaction (Dr. Alwin ...
 
Guardian Changing Media Summit - Mobile In Focus
Guardian Changing Media Summit - Mobile In FocusGuardian Changing Media Summit - Mobile In Focus
Guardian Changing Media Summit - Mobile In Focus
 
Nota 041109
Nota 041109Nota 041109
Nota 041109
 
Carlos Santos - be IN Minho
Carlos Santos - be IN MinhoCarlos Santos - be IN Minho
Carlos Santos - be IN Minho
 
Thai Alcoholic Beverages Regulations 2011
Thai Alcoholic Beverages Regulations 2011Thai Alcoholic Beverages Regulations 2011
Thai Alcoholic Beverages Regulations 2011
 
Marketing Digital - parte 3
Marketing Digital - parte 3Marketing Digital - parte 3
Marketing Digital - parte 3
 
Bio Startup Spinoff 2010
Bio Startup Spinoff 2010Bio Startup Spinoff 2010
Bio Startup Spinoff 2010
 
IBC_Profile
IBC_ProfileIBC_Profile
IBC_Profile
 
Lessons RN labor union learned using social media in 2010
Lessons RN labor union learned using social media in 2010Lessons RN labor union learned using social media in 2010
Lessons RN labor union learned using social media in 2010
 
Cara membuat diagram_alir(1)
Cara membuat diagram_alir(1)Cara membuat diagram_alir(1)
Cara membuat diagram_alir(1)
 
Cre Referral Flier
Cre Referral FlierCre Referral Flier
Cre Referral Flier
 
RACC -Comparativa Bicis Publicas full_v120625_def
RACC -Comparativa Bicis Publicas full_v120625_defRACC -Comparativa Bicis Publicas full_v120625_def
RACC -Comparativa Bicis Publicas full_v120625_def
 
Оцифрованные дети
Оцифрованные детиОцифрованные дети
Оцифрованные дети
 
Hand Outs On the neurobiology of Touch and Trauma somatic experiencing from ...
Hand Outs On the neurobiology of Touch and Trauma  somatic experiencing from ...Hand Outs On the neurobiology of Touch and Trauma  somatic experiencing from ...
Hand Outs On the neurobiology of Touch and Trauma somatic experiencing from ...
 
Oisin Lunny OpenMarket IoF National Convention 2014
Oisin Lunny OpenMarket IoF National Convention 2014Oisin Lunny OpenMarket IoF National Convention 2014
Oisin Lunny OpenMarket IoF National Convention 2014
 
Genius
GeniusGenius
Genius
 
Genius
GeniusGenius
Genius
 
Monthly report functional - may 2013
Monthly report   functional - may 2013Monthly report   functional - may 2013
Monthly report functional - may 2013
 
Independent Learning: The Internet and Its Implications for Education
Independent Learning: The Internet and Its Implications for EducationIndependent Learning: The Internet and Its Implications for Education
Independent Learning: The Internet and Its Implications for Education
 
Ico corporate presentation en
Ico corporate presentation enIco corporate presentation en
Ico corporate presentation en
 

Viewers also liked

Η Γλώσσα C - Μάθημα 1 (Εκτύπωση)
Η Γλώσσα C - Μάθημα 1 (Εκτύπωση)Η Γλώσσα C - Μάθημα 1 (Εκτύπωση)
Η Γλώσσα C - Μάθημα 1 (Εκτύπωση)
Dimitris Psounis
 

Viewers also liked (8)

ΓΛΩΣΣΑ C - ΜΑΘΗΜΑ 10
ΓΛΩΣΣΑ C - ΜΑΘΗΜΑ 10 ΓΛΩΣΣΑ C - ΜΑΘΗΜΑ 10
ΓΛΩΣΣΑ C - ΜΑΘΗΜΑ 10
 
ΓΛΩΣΣΑ C - ΜΑΘΗΜΑ 9
ΓΛΩΣΣΑ C - ΜΑΘΗΜΑ 9 ΓΛΩΣΣΑ C - ΜΑΘΗΜΑ 9
ΓΛΩΣΣΑ C - ΜΑΘΗΜΑ 9
 
ΓΛΩΣΣΑ C - ΜΑΘΗΜΑ 9 (ΕΚΤΥΠΩΣΗ)
ΓΛΩΣΣΑ C - ΜΑΘΗΜΑ 9 (ΕΚΤΥΠΩΣΗ)ΓΛΩΣΣΑ C - ΜΑΘΗΜΑ 9 (ΕΚΤΥΠΩΣΗ)
ΓΛΩΣΣΑ C - ΜΑΘΗΜΑ 9 (ΕΚΤΥΠΩΣΗ)
 
Η ΓΛΩΣΣΑ C - ΜΑΘΗΜΑ 12
Η ΓΛΩΣΣΑ C - ΜΑΘΗΜΑ 12Η ΓΛΩΣΣΑ C - ΜΑΘΗΜΑ 12
Η ΓΛΩΣΣΑ C - ΜΑΘΗΜΑ 12
 
Η Γλώσσα C - Μάθημα 1 (Εκτύπωση)
Η Γλώσσα C - Μάθημα 1 (Εκτύπωση)Η Γλώσσα C - Μάθημα 1 (Εκτύπωση)
Η Γλώσσα C - Μάθημα 1 (Εκτύπωση)
 
Η Γλώσσα C - Μάθημα 1
Η Γλώσσα C - Μάθημα 1Η Γλώσσα C - Μάθημα 1
Η Γλώσσα C - Μάθημα 1
 
ΓΛΩΣΣΑ C - ΜΑΘΗΜΑ 11 (ΕΚΤΥΠΩΣΗ)
ΓΛΩΣΣΑ C - ΜΑΘΗΜΑ 11 (ΕΚΤΥΠΩΣΗ)ΓΛΩΣΣΑ C - ΜΑΘΗΜΑ 11 (ΕΚΤΥΠΩΣΗ)
ΓΛΩΣΣΑ C - ΜΑΘΗΜΑ 11 (ΕΚΤΥΠΩΣΗ)
 
ΓΛΩΣΣΑ C - ΜΑΘΗΜΑ 11
ΓΛΩΣΣΑ C - ΜΑΘΗΜΑ 11ΓΛΩΣΣΑ C - ΜΑΘΗΜΑ 11
ΓΛΩΣΣΑ C - ΜΑΘΗΜΑ 11
 

Similar to ΓΛΩΣΣΑ C - ΜΑΘΗΜΑ 10 (ΕΚΤΥΠΩΣΗ)

Magazine Anim Art
Magazine Anim ArtMagazine Anim Art
Magazine Anim Art
Student
 
Pet stain removal fort lauderdale with the best carpet cleaning company
Pet stain removal fort lauderdale with the best carpet cleaning companyPet stain removal fort lauderdale with the best carpet cleaning company
Pet stain removal fort lauderdale with the best carpet cleaning company
Absolute Best Carpet Cleaners
 
Ssijialiye
SsijialiyeSsijialiye
Ssijialiye
renata7
 
Fusion 06 2003
Fusion 06 2003Fusion 06 2003
Fusion 06 2003
rukford1
 
Danos morais obito dengue hemorragica resp. estado
Danos morais obito dengue hemorragica resp. estadoDanos morais obito dengue hemorragica resp. estado
Danos morais obito dengue hemorragica resp. estado
Informa Jurídico
 
illustration art market report illustrated gallery
illustration art market report illustrated galleryillustration art market report illustrated gallery
illustration art market report illustrated gallery
Ingrid Bond
 
Un petit guide de la domination du monde
Un petit guide de la domination du mondeUn petit guide de la domination du monde
Un petit guide de la domination du monde
Geoffrey Dorne
 
GCMB_DavidLaskerOfficeInsightFeature
GCMB_DavidLaskerOfficeInsightFeatureGCMB_DavidLaskerOfficeInsightFeature
GCMB_DavidLaskerOfficeInsightFeature
Caroline Newson
 

Similar to ΓΛΩΣΣΑ C - ΜΑΘΗΜΑ 10 (ΕΚΤΥΠΩΣΗ) (20)

Magazine Anim Art
Magazine Anim ArtMagazine Anim Art
Magazine Anim Art
 
ภาษา C
ภาษา Cภาษา C
ภาษา C
 
Pet stain removal fort lauderdale with the best carpet cleaning company
Pet stain removal fort lauderdale with the best carpet cleaning companyPet stain removal fort lauderdale with the best carpet cleaning company
Pet stain removal fort lauderdale with the best carpet cleaning company
 
Ssijialiye
SsijialiyeSsijialiye
Ssijialiye
 
WALA Tutorial at PLDI 2010
WALA Tutorial at PLDI 2010WALA Tutorial at PLDI 2010
WALA Tutorial at PLDI 2010
 
Projet Sponsoring Paris Football Club
Projet Sponsoring Paris Football ClubProjet Sponsoring Paris Football Club
Projet Sponsoring Paris Football Club
 
Perrée &amp; Partners, Collectief Pensioen
Perrée &amp; Partners, Collectief PensioenPerrée &amp; Partners, Collectief Pensioen
Perrée &amp; Partners, Collectief Pensioen
 
Fusion 06 2003
Fusion 06 2003Fusion 06 2003
Fusion 06 2003
 
Danos morais obito dengue hemorragica resp. estado
Danos morais obito dengue hemorragica resp. estadoDanos morais obito dengue hemorragica resp. estado
Danos morais obito dengue hemorragica resp. estado
 
illustration art market report illustrated gallery
illustration art market report illustrated galleryillustration art market report illustrated gallery
illustration art market report illustrated gallery
 
Cuento 1
Cuento 1Cuento 1
Cuento 1
 
Tomar las riendas_de_la_vida-051021
Tomar las riendas_de_la_vida-051021Tomar las riendas_de_la_vida-051021
Tomar las riendas_de_la_vida-051021
 
Tomar las riendas_de_la_vida-051021
Tomar las riendas_de_la_vida-051021Tomar las riendas_de_la_vida-051021
Tomar las riendas_de_la_vida-051021
 
Tomar las riendas_de_la_vida-051021
Tomar las riendas_de_la_vida-051021Tomar las riendas_de_la_vida-051021
Tomar las riendas_de_la_vida-051021
 
Tomar las riendas_de_la_vida-051021
Tomar las riendas_de_la_vida-051021Tomar las riendas_de_la_vida-051021
Tomar las riendas_de_la_vida-051021
 
Un petit guide de la domination du monde
Un petit guide de la domination du mondeUn petit guide de la domination du monde
Un petit guide de la domination du monde
 
Vietnam language learning behaviors
Vietnam language learning behaviorsVietnam language learning behaviors
Vietnam language learning behaviors
 
Proactief Netwerken
Proactief NetwerkenProactief Netwerken
Proactief Netwerken
 
De webmaster is niet meer (beknopte versie)
De webmaster is niet meer  (beknopte versie)De webmaster is niet meer  (beknopte versie)
De webmaster is niet meer (beknopte versie)
 
GCMB_DavidLaskerOfficeInsightFeature
GCMB_DavidLaskerOfficeInsightFeatureGCMB_DavidLaskerOfficeInsightFeature
GCMB_DavidLaskerOfficeInsightFeature
 

More from Dimitris Psounis

ΠΛΗ20 ΕΠΑΝΑΛΗΠΤΙΚΟ ΔΙΑΓΩΝΙΣΜΑ 6
ΠΛΗ20 ΕΠΑΝΑΛΗΠΤΙΚΟ ΔΙΑΓΩΝΙΣΜΑ 6ΠΛΗ20 ΕΠΑΝΑΛΗΠΤΙΚΟ ΔΙΑΓΩΝΙΣΜΑ 6
ΠΛΗ20 ΕΠΑΝΑΛΗΠΤΙΚΟ ΔΙΑΓΩΝΙΣΜΑ 6
Dimitris Psounis
 
ΠΛΗ20 ΕΠΑΝΑΛΗΠΤΙΚΟ ΔΙΑΓΩΝΙΣΜΑ 5
ΠΛΗ20 ΕΠΑΝΑΛΗΠΤΙΚΟ ΔΙΑΓΩΝΙΣΜΑ 5ΠΛΗ20 ΕΠΑΝΑΛΗΠΤΙΚΟ ΔΙΑΓΩΝΙΣΜΑ 5
ΠΛΗ20 ΕΠΑΝΑΛΗΠΤΙΚΟ ΔΙΑΓΩΝΙΣΜΑ 5
Dimitris Psounis
 
ΠΛΗ10 ΚΑΡΤΕΣ ΜΑΘΗΜΑΤΟΣ 2.2 (ΕΚΤΥΠΩΣΗ)
ΠΛΗ10 ΚΑΡΤΕΣ ΜΑΘΗΜΑΤΟΣ 2.2 (ΕΚΤΥΠΩΣΗ)ΠΛΗ10 ΚΑΡΤΕΣ ΜΑΘΗΜΑΤΟΣ 2.2 (ΕΚΤΥΠΩΣΗ)
ΠΛΗ10 ΚΑΡΤΕΣ ΜΑΘΗΜΑΤΟΣ 2.2 (ΕΚΤΥΠΩΣΗ)
Dimitris Psounis
 
ΠΛΗ10 ΚΑΡΤΕΣ ΜΑΘΗΜΑΤΟΣ 2.2
ΠΛΗ10 ΚΑΡΤΕΣ ΜΑΘΗΜΑΤΟΣ 2.2ΠΛΗ10 ΚΑΡΤΕΣ ΜΑΘΗΜΑΤΟΣ 2.2
ΠΛΗ10 ΚΑΡΤΕΣ ΜΑΘΗΜΑΤΟΣ 2.2
Dimitris Psounis
 
ΠΛΗ10 ΚΑΡΤΕΣ ΜΑΘΗΜΑΤΟΣ 2.1 (ΕΚΤΥΠΩΣΗ)
ΠΛΗ10 ΚΑΡΤΕΣ ΜΑΘΗΜΑΤΟΣ 2.1 (ΕΚΤΥΠΩΣΗ)ΠΛΗ10 ΚΑΡΤΕΣ ΜΑΘΗΜΑΤΟΣ 2.1 (ΕΚΤΥΠΩΣΗ)
ΠΛΗ10 ΚΑΡΤΕΣ ΜΑΘΗΜΑΤΟΣ 2.1 (ΕΚΤΥΠΩΣΗ)
Dimitris Psounis
 
ΠΛΗ10 ΚΑΡΤΕΣ ΜΑΘΗΜΑΤΟΣ 2.1
ΠΛΗ10 ΚΑΡΤΕΣ ΜΑΘΗΜΑΤΟΣ 2.1ΠΛΗ10 ΚΑΡΤΕΣ ΜΑΘΗΜΑΤΟΣ 2.1
ΠΛΗ10 ΚΑΡΤΕΣ ΜΑΘΗΜΑΤΟΣ 2.1
Dimitris Psounis
 
ΔΟΜΕΣ ΔΕΔΟΜΕΝΩΝ ΣΕ C - ΜΑΘΗΜΑ 7
ΔΟΜΕΣ ΔΕΔΟΜΕΝΩΝ ΣΕ C - ΜΑΘΗΜΑ 7ΔΟΜΕΣ ΔΕΔΟΜΕΝΩΝ ΣΕ C - ΜΑΘΗΜΑ 7
ΔΟΜΕΣ ΔΕΔΟΜΕΝΩΝ ΣΕ C - ΜΑΘΗΜΑ 7
Dimitris Psounis
 
ΔΟΜΕΣ ΔΕΔΟΜΕΝΩΝ ΣΕ C - ΜΑΘΗΜΑ 8 (ΕΚΤΥΠΩΣΗ)
ΔΟΜΕΣ ΔΕΔΟΜΕΝΩΝ ΣΕ C - ΜΑΘΗΜΑ 8 (ΕΚΤΥΠΩΣΗ)ΔΟΜΕΣ ΔΕΔΟΜΕΝΩΝ ΣΕ C - ΜΑΘΗΜΑ 8 (ΕΚΤΥΠΩΣΗ)
ΔΟΜΕΣ ΔΕΔΟΜΕΝΩΝ ΣΕ C - ΜΑΘΗΜΑ 8 (ΕΚΤΥΠΩΣΗ)
Dimitris Psounis
 
ΔΟΜΕΣ ΔΕΔΟΜΕΝΩΝ ΣΕ C - ΜΑΘΗΜΑ 8
ΔΟΜΕΣ ΔΕΔΟΜΕΝΩΝ ΣΕ C - ΜΑΘΗΜΑ 8ΔΟΜΕΣ ΔΕΔΟΜΕΝΩΝ ΣΕ C - ΜΑΘΗΜΑ 8
ΔΟΜΕΣ ΔΕΔΟΜΕΝΩΝ ΣΕ C - ΜΑΘΗΜΑ 8
Dimitris Psounis
 
ΔΟΜΕΣ ΔΕΔΟΜΕΝΩΝ ΣΕ C - ΜΑΘΗΜΑ 7 (ΕΚΤΥΠΩΣΗ)
ΔΟΜΕΣ ΔΕΔΟΜΕΝΩΝ ΣΕ C - ΜΑΘΗΜΑ 7 (ΕΚΤΥΠΩΣΗ)ΔΟΜΕΣ ΔΕΔΟΜΕΝΩΝ ΣΕ C - ΜΑΘΗΜΑ 7 (ΕΚΤΥΠΩΣΗ)
ΔΟΜΕΣ ΔΕΔΟΜΕΝΩΝ ΣΕ C - ΜΑΘΗΜΑ 7 (ΕΚΤΥΠΩΣΗ)
Dimitris Psounis
 
ΔΟΜΕΣ ΔΕΔΟΜΕΝΩΝ ΣΕ C - ΜΑΘΗΜΑ 6
ΔΟΜΕΣ ΔΕΔΟΜΕΝΩΝ ΣΕ C - ΜΑΘΗΜΑ 6 ΔΟΜΕΣ ΔΕΔΟΜΕΝΩΝ ΣΕ C - ΜΑΘΗΜΑ 6
ΔΟΜΕΣ ΔΕΔΟΜΕΝΩΝ ΣΕ C - ΜΑΘΗΜΑ 6
Dimitris Psounis
 

More from Dimitris Psounis (20)

Η ΓΛΩΣΣΑ C++ - ΜΑΘΗΜΑ 4 - ΚΛΑΣΕΙΣ ΚΑΙ ΑΝΑΦΟΡΕΣ
Η ΓΛΩΣΣΑ C++ - ΜΑΘΗΜΑ 4 - ΚΛΑΣΕΙΣ ΚΑΙ ΑΝΑΦΟΡΕΣΗ ΓΛΩΣΣΑ C++ - ΜΑΘΗΜΑ 4 - ΚΛΑΣΕΙΣ ΚΑΙ ΑΝΑΦΟΡΕΣ
Η ΓΛΩΣΣΑ C++ - ΜΑΘΗΜΑ 4 - ΚΛΑΣΕΙΣ ΚΑΙ ΑΝΑΦΟΡΕΣ
 
Η ΓΛΩΣΣΑ C++ - ΜΑΘΗΜΑ 4 - ΚΛΑΣΕΙΣ ΚΑΙ ΑΝΑΦΟΡΕΣ (4διαφ)
Η ΓΛΩΣΣΑ C++ - ΜΑΘΗΜΑ 4 - ΚΛΑΣΕΙΣ ΚΑΙ ΑΝΑΦΟΡΕΣ (4διαφ)Η ΓΛΩΣΣΑ C++ - ΜΑΘΗΜΑ 4 - ΚΛΑΣΕΙΣ ΚΑΙ ΑΝΑΦΟΡΕΣ (4διαφ)
Η ΓΛΩΣΣΑ C++ - ΜΑΘΗΜΑ 4 - ΚΛΑΣΕΙΣ ΚΑΙ ΑΝΑΦΟΡΕΣ (4διαφ)
 
ΓΛΩΣΣΑ C++ - ΜΑΘΗΜΑ 3 - ΚΛΑΣΕΙΣ ΚΑΙ ΔΕΙΚΤΕΣ (4δ)
ΓΛΩΣΣΑ C++ - ΜΑΘΗΜΑ 3 - ΚΛΑΣΕΙΣ ΚΑΙ ΔΕΙΚΤΕΣ (4δ)ΓΛΩΣΣΑ C++ - ΜΑΘΗΜΑ 3 - ΚΛΑΣΕΙΣ ΚΑΙ ΔΕΙΚΤΕΣ (4δ)
ΓΛΩΣΣΑ C++ - ΜΑΘΗΜΑ 3 - ΚΛΑΣΕΙΣ ΚΑΙ ΔΕΙΚΤΕΣ (4δ)
 
ΓΛΩΣΣΑ C++ - ΜΑΘΗΜΑ 3 - ΚΛΑΣΕΙΣ ΚΑΙ ΔΕΙΚΤΕΣ
ΓΛΩΣΣΑ C++ - ΜΑΘΗΜΑ 3 - ΚΛΑΣΕΙΣ ΚΑΙ ΔΕΙΚΤΕΣΓΛΩΣΣΑ C++ - ΜΑΘΗΜΑ 3 - ΚΛΑΣΕΙΣ ΚΑΙ ΔΕΙΚΤΕΣ
ΓΛΩΣΣΑ C++ - ΜΑΘΗΜΑ 3 - ΚΛΑΣΕΙΣ ΚΑΙ ΔΕΙΚΤΕΣ
 
Η ΓΛΩΣΣΑ C++ - ΜΑΘΗΜΑ 2 - ΕΙΣΑΓΩΓΗ ΣΤΙΣ ΚΛΑΣΕΙΣ
Η ΓΛΩΣΣΑ C++ - ΜΑΘΗΜΑ 2 - ΕΙΣΑΓΩΓΗ ΣΤΙΣ ΚΛΑΣΕΙΣΗ ΓΛΩΣΣΑ C++ - ΜΑΘΗΜΑ 2 - ΕΙΣΑΓΩΓΗ ΣΤΙΣ ΚΛΑΣΕΙΣ
Η ΓΛΩΣΣΑ C++ - ΜΑΘΗΜΑ 2 - ΕΙΣΑΓΩΓΗ ΣΤΙΣ ΚΛΑΣΕΙΣ
 
Η ΓΛΩΣΣΑ C++ - ΜΑΘΗΜΑ 2 - ΕΙΣΑΓΩΓΗ ΣΤΙΣ ΚΛΑΣΕΙΣ (4 διαφ)
Η ΓΛΩΣΣΑ C++ - ΜΑΘΗΜΑ 2 - ΕΙΣΑΓΩΓΗ ΣΤΙΣ ΚΛΑΣΕΙΣ (4 διαφ)Η ΓΛΩΣΣΑ C++ - ΜΑΘΗΜΑ 2 - ΕΙΣΑΓΩΓΗ ΣΤΙΣ ΚΛΑΣΕΙΣ (4 διαφ)
Η ΓΛΩΣΣΑ C++ - ΜΑΘΗΜΑ 2 - ΕΙΣΑΓΩΓΗ ΣΤΙΣ ΚΛΑΣΕΙΣ (4 διαφ)
 
C++ - ΜΑΘΗΜΑ 1 - ΕΙΣΑΓΩΓΗ ΚΑΙ ΣΧΕΣΗ ΜΕ ΤΗ C
C++ - ΜΑΘΗΜΑ 1 - ΕΙΣΑΓΩΓΗ ΚΑΙ ΣΧΕΣΗ ΜΕ ΤΗ CC++ - ΜΑΘΗΜΑ 1 - ΕΙΣΑΓΩΓΗ ΚΑΙ ΣΧΕΣΗ ΜΕ ΤΗ C
C++ - ΜΑΘΗΜΑ 1 - ΕΙΣΑΓΩΓΗ ΚΑΙ ΣΧΕΣΗ ΜΕ ΤΗ C
 
C++ - ΜΑΘΗΜΑ 1 - ΕΙΣΑΓΩΓΗ ΚΑΙ ΣΧΕΣΗ ΜΕ ΤΗ C (4sl/p)
C++ - ΜΑΘΗΜΑ 1 - ΕΙΣΑΓΩΓΗ ΚΑΙ ΣΧΕΣΗ ΜΕ ΤΗ C (4sl/p)C++ - ΜΑΘΗΜΑ 1 - ΕΙΣΑΓΩΓΗ ΚΑΙ ΣΧΕΣΗ ΜΕ ΤΗ C (4sl/p)
C++ - ΜΑΘΗΜΑ 1 - ΕΙΣΑΓΩΓΗ ΚΑΙ ΣΧΕΣΗ ΜΕ ΤΗ C (4sl/p)
 
ΠΛΗ20 ΕΠΑΝΑΛΗΠΤΙΚΟ ΔΙΑΓΩΝΙΣΜΑ 6
ΠΛΗ20 ΕΠΑΝΑΛΗΠΤΙΚΟ ΔΙΑΓΩΝΙΣΜΑ 6ΠΛΗ20 ΕΠΑΝΑΛΗΠΤΙΚΟ ΔΙΑΓΩΝΙΣΜΑ 6
ΠΛΗ20 ΕΠΑΝΑΛΗΠΤΙΚΟ ΔΙΑΓΩΝΙΣΜΑ 6
 
ΠΛΗ20 ΕΠΑΝΑΛΗΠΤΙΚΟ ΔΙΑΓΩΝΙΣΜΑ 5
ΠΛΗ20 ΕΠΑΝΑΛΗΠΤΙΚΟ ΔΙΑΓΩΝΙΣΜΑ 5ΠΛΗ20 ΕΠΑΝΑΛΗΠΤΙΚΟ ΔΙΑΓΩΝΙΣΜΑ 5
ΠΛΗ20 ΕΠΑΝΑΛΗΠΤΙΚΟ ΔΙΑΓΩΝΙΣΜΑ 5
 
ΠΛΗ10 ΚΑΡΤΕΣ ΜΑΘΗΜΑΤΟΣ 2.2 (ΕΚΤΥΠΩΣΗ)
ΠΛΗ10 ΚΑΡΤΕΣ ΜΑΘΗΜΑΤΟΣ 2.2 (ΕΚΤΥΠΩΣΗ)ΠΛΗ10 ΚΑΡΤΕΣ ΜΑΘΗΜΑΤΟΣ 2.2 (ΕΚΤΥΠΩΣΗ)
ΠΛΗ10 ΚΑΡΤΕΣ ΜΑΘΗΜΑΤΟΣ 2.2 (ΕΚΤΥΠΩΣΗ)
 
ΠΛΗ10 ΚΑΡΤΕΣ ΜΑΘΗΜΑΤΟΣ 2.2
ΠΛΗ10 ΚΑΡΤΕΣ ΜΑΘΗΜΑΤΟΣ 2.2ΠΛΗ10 ΚΑΡΤΕΣ ΜΑΘΗΜΑΤΟΣ 2.2
ΠΛΗ10 ΚΑΡΤΕΣ ΜΑΘΗΜΑΤΟΣ 2.2
 
ΠΛΗ10 ΚΑΡΤΕΣ ΜΑΘΗΜΑΤΟΣ 2.1 (ΕΚΤΥΠΩΣΗ)
ΠΛΗ10 ΚΑΡΤΕΣ ΜΑΘΗΜΑΤΟΣ 2.1 (ΕΚΤΥΠΩΣΗ)ΠΛΗ10 ΚΑΡΤΕΣ ΜΑΘΗΜΑΤΟΣ 2.1 (ΕΚΤΥΠΩΣΗ)
ΠΛΗ10 ΚΑΡΤΕΣ ΜΑΘΗΜΑΤΟΣ 2.1 (ΕΚΤΥΠΩΣΗ)
 
ΠΛΗ10 ΚΑΡΤΕΣ ΜΑΘΗΜΑΤΟΣ 2.1
ΠΛΗ10 ΚΑΡΤΕΣ ΜΑΘΗΜΑΤΟΣ 2.1ΠΛΗ10 ΚΑΡΤΕΣ ΜΑΘΗΜΑΤΟΣ 2.1
ΠΛΗ10 ΚΑΡΤΕΣ ΜΑΘΗΜΑΤΟΣ 2.1
 
ΔΟΜΕΣ ΔΕΔΟΜΕΝΩΝ ΣΕ C - ΜΑΘΗΜΑ 7
ΔΟΜΕΣ ΔΕΔΟΜΕΝΩΝ ΣΕ C - ΜΑΘΗΜΑ 7ΔΟΜΕΣ ΔΕΔΟΜΕΝΩΝ ΣΕ C - ΜΑΘΗΜΑ 7
ΔΟΜΕΣ ΔΕΔΟΜΕΝΩΝ ΣΕ C - ΜΑΘΗΜΑ 7
 
ΔΟΜΕΣ ΔΕΔΟΜΕΝΩΝ ΣΕ C - ΜΑΘΗΜΑ 8 (ΕΚΤΥΠΩΣΗ)
ΔΟΜΕΣ ΔΕΔΟΜΕΝΩΝ ΣΕ C - ΜΑΘΗΜΑ 8 (ΕΚΤΥΠΩΣΗ)ΔΟΜΕΣ ΔΕΔΟΜΕΝΩΝ ΣΕ C - ΜΑΘΗΜΑ 8 (ΕΚΤΥΠΩΣΗ)
ΔΟΜΕΣ ΔΕΔΟΜΕΝΩΝ ΣΕ C - ΜΑΘΗΜΑ 8 (ΕΚΤΥΠΩΣΗ)
 
ΔΟΜΕΣ ΔΕΔΟΜΕΝΩΝ ΣΕ C - ΜΑΘΗΜΑ 8
ΔΟΜΕΣ ΔΕΔΟΜΕΝΩΝ ΣΕ C - ΜΑΘΗΜΑ 8ΔΟΜΕΣ ΔΕΔΟΜΕΝΩΝ ΣΕ C - ΜΑΘΗΜΑ 8
ΔΟΜΕΣ ΔΕΔΟΜΕΝΩΝ ΣΕ C - ΜΑΘΗΜΑ 8
 
ΔΟΜΕΣ ΔΕΔΟΜΕΝΩΝ ΣΕ C - ΜΑΘΗΜΑ 7 (ΕΚΤΥΠΩΣΗ)
ΔΟΜΕΣ ΔΕΔΟΜΕΝΩΝ ΣΕ C - ΜΑΘΗΜΑ 7 (ΕΚΤΥΠΩΣΗ)ΔΟΜΕΣ ΔΕΔΟΜΕΝΩΝ ΣΕ C - ΜΑΘΗΜΑ 7 (ΕΚΤΥΠΩΣΗ)
ΔΟΜΕΣ ΔΕΔΟΜΕΝΩΝ ΣΕ C - ΜΑΘΗΜΑ 7 (ΕΚΤΥΠΩΣΗ)
 
ΠΛΗ31 - ΤΕΣΤ 33
ΠΛΗ31 - ΤΕΣΤ 33ΠΛΗ31 - ΤΕΣΤ 33
ΠΛΗ31 - ΤΕΣΤ 33
 
ΔΟΜΕΣ ΔΕΔΟΜΕΝΩΝ ΣΕ C - ΜΑΘΗΜΑ 6
ΔΟΜΕΣ ΔΕΔΟΜΕΝΩΝ ΣΕ C - ΜΑΘΗΜΑ 6 ΔΟΜΕΣ ΔΕΔΟΜΕΝΩΝ ΣΕ C - ΜΑΘΗΜΑ 6
ΔΟΜΕΣ ΔΕΔΟΜΕΝΩΝ ΣΕ C - ΜΑΘΗΜΑ 6
 

Recently uploaded

Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
ciinovamais
 

Recently uploaded (20)

Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 
Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajan
 

ΓΛΩΣΣΑ C - ΜΑΘΗΜΑ 10 (ΕΚΤΥΠΩΣΗ)

  • 1. H C 10: . 1. char 2. O ASCII 3. char . 1. 2. ! 3. gets puts 4. " # string.h $. ! " # . 1. ! " # # $ char C " # # $ char " % & " . " & $ # " ! ' # # " ( ! ) % % " 0 * 255. + " % ( "% , & "% $ ASCII $# * , " % % '" & $ # % , %, " % , ($ "% ASCII. - " " . : char " % $ , $ char " % $ , $ $! " # A. 2. ! "% ASCII %! " # % " % % "% $ ASCII. / # ( % " % . .
  • 2. A. 3. * " char &! " # * # $ : ch ". . a " # " : 0% $ % ASCII $# : 0% $ " : ! ' " % , " " " $ & 1 &$& ! 0"% " # " printf & " # # $ % %c. ) " "* : char ch; ch=97; ch='a'; printf("%c",ch); A. 3. * " char '! " # / . " & " # % "$ " %, " & C /* char.c */ #include <stdio.h> main() { char c; for (c=80; c<=100; c++) { printf("nO xaraktiras %d einai %c",c,c); } } * & "$ ASCII 128-255 " " # * c unsigned char. 2. 1. / % (! " # " " " * & " % " % " . % , # # % " . C &% # * " "% " . ) # $ : * "% " 20 , " 19 $ . 3! ! 4! 0% " 19 $ ( 20) # " " %, # 0 (slash # ). " # & «hello» " $ . : char str[20]; str[0] str[1] str[2] str[3] … str[4] str[5] h e l l o 0 str[20] 2. 1. / % )! " # 4 " % " % &% # $ " : & $ " " % # . : 0"% & ( " , " * # " &$& + " " # " % * ( " # & 3 : $ # * " $ # % , # " " " " ( " ( ) char pin[3]={'a','b','0'}; char pin[3]="ab"; char *pin="ab"; char pin[]="ab";
  • 3. 2. 2. 0 "$ % *! " # "$ ( printf) & $ ( scanf) " % " # %s. " " % " %! % % "% $ , ( % "% , % # % # . . ) scanf # " " & . " # & # * % : / "$ &% : 0 * # &% : char string[100]; printf("%s",string); scanf("%s",string); 2. 2. 0 "$ % ! " # / . " & & % # " * «teststring» " «test string» (" * $ % ) # % " . /* string.c: Deixnei tin xrisi tis scanf kai tis printf me simvoloseires */ #include <stdio.h> main() { char string[80]; printf("Dwste mia simboloseira: "); scanf("%s",string); printf("Pliktrologisate tin simvoloseira: %s",string); } 2. 3. ! gets puts ! " # ' & % scanf, # , " & & " & " * " & . " " & ( , " gets " " $ " : 4 " string " # , " , " . 0% : %# %, puts " "* " # $ " ‘n’: "% % char *gets(char *string) int puts(char *string) stdio.h stdio.h 2. 4. 4 string.h ! " # 0%# % " * &$& . 0" # # % * % # # % C, % % , : " % %, " " " . & % * . 0 % %, "$ : 4 " % & ( src dest. + : " ( " $ $ string. 5 # " string.h int strlen(char *string) void strcpy(char *dest, char *src)
  • 4. . 1. $! " # / " $ $ ( # 0) ( . + % " $ " int mystrlen(char *s) " # $ % " ( . 1 " & C, " % # , " % # gets " " &%, "* 4 int strlen(char *s) " % string.h % * & " " & ( " " $. . 2. & ( * %! " # + % " $ " char *mystrcpy(char *dest, char *src) " # $ % # & ( src dest. 4 " ( # % dest. 1 " & C, " % # , " % # # gets " #% % " & & & 1 " " # " % % % . / "* . 4 char *strcpy(char *dest, char *src) " % string.h % * & " " & ( " " $. . 3. " + ( % &! " # 1 " & " # , " " & % ( % "* " 6" # %. : * % & (". . 150 $ ) " "% $ ASCII # ( " % ( % 32 * . ( % , " % %. "* % "% ASCII & # % " % %. " ( % " gets scanf & " & . . 4. ( " % 0. # '! " # % 2 " $ "% ASCII (128-255) " " " # " & " " % " % . " & "* ( ,% " ): Hello World!Hello World!
  • 5. . 5. & * (! " # + " & C " % : 7 # , # . ( " & " % & " & ) 7 " & " % ( & $ * "* . # & " : Dwse tin 1i simvoloseira: test Dwse tin 2i simvoloseira: abba ===== Isxyei: abba < test & " % int strcmp(char *s1, char *s2) string.h " % "