11-6   String/Data Conversion
Download
1 / 9

11-6 String/Data Conversion - PowerPoint PPT Presentation


  • 93 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

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


FIGURE 11-24sscanf Operation

Computer Science: A Structured Programming Approach Using C


Note

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

one string into many variables.

Computer Science: A Structured Programming Approach Using C


FIGURE 11-25sprintf Operation

Computer Science: A Structured Programming Approach Using C


PROGRAM 11-16

Demonstrate Memory Formatting

Computer Science: A Structured Programming Approach Using C


PROGRAM 11-16

Demonstrate Memory Formatting

Computer Science: A Structured Programming Approach Using C


PROGRAM 11-17

Testing for Open and Close Errors

Computer Science: A Structured Programming Approach Using C


PROGRAM 11-17

Testing for Open and Close Errors

Computer Science: A Structured Programming Approach Using C


PROGRAM 11-17

Testing for Open and Close Errors

Computer Science: A Structured Programming Approach Using C


ad