Introduction to turbo c
Upcoming SlideShare
Loading in...5
×
 

Introduction to turbo c

on

  • 300 views

for 4th quarter computer LT reivew

for 4th quarter computer LT reivew

Statistics

Views

Total Views
300
Views on SlideShare
300
Embed Views
0

Actions

Likes
0
Downloads
3
Comments
0

0 Embeds 0

No embeds

Accessibility

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Introduction to turbo c Introduction to turbo c Presentation Transcript

    • ARVIN santos buendia
    • OBJECTIVES
    • INTRODUCTION TO TURBO-C
    • INTRODUCTION TO TURBO-C
    • TURBO-C CODE STRUCTURE COMMENTS PREPROCESSOR DIRECTIVE BEGIN BLOCK OF main( ) FUNCTION END BLOCK OF main( ) FUNCTION VARIABLE DECLARATION FUNCTION NAME BODY OF THE PROGRAM Hello Arvin _ _ Hello SUPERMAN _
    • SCREEN OUTPUT FUNCTION printf( ); – is used to write information on the screen printf( <format string> ); <format string> is a string that begins and ends with double quotes “” printf(“ARVIN santos BUENDIA”); ARVIN santos BUENDIA _ _
    • SCREEN OUTPUT FUNCTION An ESCAPE SEQUENCE that starts with the escape code “ ” The backslash indicates that the characters that will follow is NOT TO BE PROCESS in the ORDINARY WAY   ESCAPE SEQUENCE n new line t tab ” double quote backslash
    • SCREEN OUTPUT FUNCTION printf(“arvin n SUPERMAN”); arvin _ _ _ SUPERMAN _
    • SCREEN OUTPUT FUNCTION printf(“arvin n SUPERMAN”); arvin _ _ _ SUPERMAN _ _
    • SCREEN OUTPUT FUNCTION printf(“arvin t SUPERMAN”); arvin _ _ SUPERMAN _ _
    • SCREEN OUTPUT FUNCTION printf(“arvin “ SUPERMAN”); arvin _ _ START OF THE FORMAT STRING END OF THE FORMAT STRING SYNTAX ERROR NEXT CODE
    • ESCAPE SEQUENCE START OF THE FORMAT STRING SCREEN OUTPUT FUNCTION printf(“arvin &quot; SUPERMAN”); arvin _ _ “ SUPERMAN _ END OF THE FORMAT STRING NEXT CODE
    • ESCAPE SEQUENCE START OF THE FORMAT STRING SCREEN OUTPUT FUNCTION printf(“arvin SUPERMAN”); arvin _ _ SUPERMAN _ END OF THE FORMAT STRING NEXT CODE
    • ASSESSMENT printf(“di nga ako nagpaputoknn”); printf(“nun nbagong taon… nbaketn???”); printf(“nkasit sumasabog na ang ”puso ko” sa’yo”); di nga ako nagpaputok _ _ _ _ nun _ _ bagong taon… _ _ baket _ _ ??? _ _ kasi _ _ sumasabog na ang _ “ puso ko _ “ _ sa’yo _