A clear indicator EX0-101 that a line of code is a statement is its termination with an ending semicolon (;). Each statement performs an action. That statement and command will be examined in detail later on, for now consider only, it as a verb ("cout") and the other details as information (what to print). In this case, the command "cout" means "show on the screen," EX0-100 (not "print on the printer").
The programmer either enters the statement directly to the computer (by typing it while running a special program), or creates a text file with the command in it (you can use any text editor for that). You could create a file called "hi.txt", put the above command in it, and give the file to the computer.
If one were to 1Y0-259 write multiple statements, it is recommended that each statement be entered on a separate line and should end with a semicolon (;).
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment