

C++ Comments
Presentation
•
Computers
•
University
•
Practice Problem
•
Hard
Kittisay SENGTHONG
Used 2+ times
FREE Resource
4 Slides • 2 Questions
1
C++ Comments
Comments can be used to explain C++ code, and to make it more readable. It can also be used to prevent execution when testing alternative code. Comments can be singled-lined or multi-lined.

2
C++ Comments
Single-line comments start with two forward slashes (//).
Any text between // and the end of the line is ignored by the compiler (will not be executed).
3
Fill in the Blanks
Type answer...
4
C++ Comments
This example uses a single-line comment at the end of a line of code:
5
C++ Multi-line Comments
Multi-line comments start with /* and ends with */.
Any text between /* and */ will be ignored by the compiler:
6
Fill in the Blanks
Type answer...
C++ Comments
Comments can be used to explain C++ code, and to make it more readable. It can also be used to prevent execution when testing alternative code. Comments can be singled-lined or multi-lined.

Show answer
Auto Play
Slide 1 / 6
SLIDE
Similar Resources on Wayground
8 questions
Basic Terminologies and Algorithm Design
Presentation
•
University
8 questions
WEEK 4 Review
Presentation
•
University
1 questions
untitled
Presentation
•
KG - University
1 questions
Animal Behavior Chapter 1 Discussion
Presentation
•
University
3 questions
try again
Presentation
•
University
4 questions
Conversions
Presentation
•
University
7 questions
Quiz Interactive
Presentation
•
University
5 questions
HISTORIA DE LA COMPUTADORA
Presentation
•
University
Popular Resources on Wayground
20 questions
STAAR Review Quiz #3
Quiz
•
8th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
6 questions
Marshmallow Farm Quiz
Quiz
•
2nd - 5th Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
20 questions
Inferences
Quiz
•
4th Grade
19 questions
Classifying Quadrilaterals
Quiz
•
3rd Grade
12 questions
What makes Nebraska's government unique?
Quiz
•
4th - 5th Grade