11-6   String/Data Conversion
This presentation is the property of its rightful owner.
Sponsored Links
1 / 9

11-6 String/Data Conversion PowerPoint PPT Presentation


  • 55 Views
  • Uploaded on
  • Presentation posted in: General

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

Download Presentation

11-6 String/Data Conversion

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

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


11 6 string data conversion

FIGURE 11-24sscanf Operation

Computer Science: A Structured Programming Approach Using C


11 6 string data conversion

Note

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

one string into many variables.

Computer Science: A Structured Programming Approach Using C


11 6 string data conversion

FIGURE 11-25sprintf Operation

Computer Science: A Structured Programming Approach Using C


11 6 string data conversion

PROGRAM 11-16

Demonstrate Memory Formatting

Computer Science: A Structured Programming Approach Using C


11 6 string data conversion

PROGRAM 11-16

Demonstrate Memory Formatting

Computer Science: A Structured Programming Approach Using C


11 6 string data conversion

PROGRAM 11-17

Testing for Open and Close Errors

Computer Science: A Structured Programming Approach Using C


11 6 string data conversion

PROGRAM 11-17

Testing for Open and Close Errors

Computer Science: A Structured Programming Approach Using C


11 6 string data conversion

PROGRAM 11-17

Testing for Open and Close Errors

Computer Science: A Structured Programming Approach Using C


  • Login