

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
5 questions
BÀI 11 - LUYỆN TẬP
Presentation
•
KG
3 questions
Linear & Non-Linear Texts
Presentation
•
University
2 questions
BÀI HỌC CHỮ CÁI E
Presentation
•
KG - University
6 questions
KTH vi mô
Presentation
•
University
6 questions
LIEUX
Presentation
•
University
3 questions
PNB Minggu Ke 2
Presentation
•
University
6 questions
CE + PRONOM RELATIF 2
Presentation
•
University
4 questions
Recap Week
Presentation
•
University
Popular Resources on Wayground
10 questions
HCS SCI 03 Summer School Assessment 1
Quiz
•
3rd Grade
15 questions
HCS SCI 05 Summer School Assessment 1 Review
Quiz
•
5th Grade
22 questions
Day 9 Equations and Inequalities Review
Quiz
•
9th Grade
10 questions
Writing and Identifying Ratios Practice
Quiz
•
5th - 6th Grade
7 questions
PYRAMID PERSPECTIVES part 1
Presentation
•
9th - 12th Grade
12 questions
Understanding the Fourth of July
Quiz
•
9th Grade
15 questions
Soccer World Cup Quiz Questions
Quiz
•
7th Grade