[splab7]functions i

44

Upload: nora-youssef

Post on 20-Jan-2017

64 views

Category:

Education


1 download

TRANSCRIPT

Page 1: [SpLab7]Functions I
Page 2: [SpLab7]Functions I

Today’s Lab

Page 3: [SpLab7]Functions I

خير اجعله اللهم خير

Page 4: [SpLab7]Functions I

1- Mathematical Functions

Page 5: [SpLab7]Functions I

Hands On

Page 6: [SpLab7]Functions I
Page 7: [SpLab7]Functions I

2- Char Array Functions

Page 8: [SpLab7]Functions I

Hands On

Page 9: [SpLab7]Functions I
Page 10: [SpLab7]Functions I
Page 11: [SpLab7]Functions I

3- Strings

Page 12: [SpLab7]Functions I

Declaration and Initialization

Page 13: [SpLab7]Functions I

Input/Output with char arrays

Page 14: [SpLab7]Functions I

Input/Output with char arrays

Page 15: [SpLab7]Functions I

Input1D array using built in functions

Page 16: [SpLab7]Functions I

Input1D array using built in functions(cont.)

Page 17: [SpLab7]Functions I

Input1D array using built in functions(cont.)

Page 18: [SpLab7]Functions I

Built-in Functions (Strings)

Page 19: [SpLab7]Functions I

Hands on

Page 20: [SpLab7]Functions I
Page 21: [SpLab7]Functions I
Page 22: [SpLab7]Functions I
Page 23: [SpLab7]Functions I
Page 24: [SpLab7]Functions I
Page 25: [SpLab7]Functions I
Page 26: [SpLab7]Functions I
Page 27: [SpLab7]Functions I
Page 28: [SpLab7]Functions I

String library

Page 29: [SpLab7]Functions I

Declaration and Initialization

Page 30: [SpLab7]Functions I

Reading strings from user and Concatenating them

Page 31: [SpLab7]Functions I

String Operations (cont.) Assignment, Append, and Swap

Page 32: [SpLab7]Functions I

String Operations (cont.) Insertion, Removal, and Replacement

Page 33: [SpLab7]Functions I

String Operations (cont.)Copy and SubString

Page 34: [SpLab7]Functions I

String Operations (cont.)Copy and SubString

Page 35: [SpLab7]Functions I

String Operations (cont.)Searching Operations

Page 36: [SpLab7]Functions I

String Operations (cont.)Comparison

Page 37: [SpLab7]Functions I

ASCII Table

Page 38: [SpLab7]Functions I

String Operations (cont.)Character Access

Page 39: [SpLab7]Functions I

String Operations (cont.)ASCII operations

Page 40: [SpLab7]Functions I
Page 41: [SpLab7]Functions I
Page 42: [SpLab7]Functions I

Problem 1

Page 43: [SpLab7]Functions I

Problem 2

Page 44: [SpLab7]Functions I

Thanks!