slide1
Download
Skip this Video
Download Presentation
11-6 String/Data Conversion

Loading in 2 Seconds...

play fullscreen
1 / 9

11-6 String/Data Conversion - PowerPoint PPT Presentation


  • 94 Views
  • Uploaded on

11-6 String/Data Conversion. A common set of applications format data by either converting a sequence of characters into corresponding data types or vice versa. Two such applications are parsing and telecommunications. Topics discussed in this section:. String to Data Conversion

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about ' 11-6 String/Data Conversion' - althea-mcdowell


An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
slide1
11-6 String/Data Conversion

A common set of applications format data by either converting a sequence of characters into corresponding data types or vice versa. Two such applications are parsing and telecommunications.

Topics discussed in this section:

String to Data Conversion

Data to String Conversion

Computer Science: A Structured Programming Approach Using C

slide2
FIGURE 11-24sscanf Operation

Computer Science: A Structured Programming Approach Using C

slide3
Note

sscanf is a one-to-many function. It splits

one string into many variables.

Computer Science: A Structured Programming Approach Using C

slide4
FIGURE 11-25sprintf Operation

Computer Science: A Structured Programming Approach Using C

slide5
PROGRAM 11-16

Demonstrate Memory Formatting

Computer Science: A Structured Programming Approach Using C

slide6
PROGRAM 11-16

Demonstrate Memory Formatting

Computer Science: A Structured Programming Approach Using C

slide7
PROGRAM 11-17

Testing for Open and Close Errors

Computer Science: A Structured Programming Approach Using C

slide8
PROGRAM 11-17

Testing for Open and Close Errors

Computer Science: A Structured Programming Approach Using C

slide9
PROGRAM 11-17

Testing for Open and Close Errors

Computer Science: A Structured Programming Approach Using C

ad