NOTE: You may download codes and extra source material for this book from https://bookofengineering.com/easyseries/
Another type of comment is paragraph comment (or multiple line comment) where you start commenting with “*/” and end with “/*”
- //my first c++ program
- #include <iostream>
- using namespace std;
- int main(){
- cout<<“hello world!”;
- return 0;
- system(“pause”);
- }
- /* This ends
- the file */
So here the lines #9 and #10 is an example to the multiple line comment.
NOTE: You may buy this course in paperbook book format from https://www.amazon.com/dp/B0892HQTGS