User Tools

Site Tools

tools:cplusplus

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
tools:cplusplus [2024/06/03 06:35] – created Humphrey Boa-Garttools:cplusplus [2024/08/06 05:48] (current) – external edit 127.0.0.1
Line 114: Line 114:
 Those are called comments. Those comments won't affect the code whatsoever but show the comments to whoever is reading the code. It's useless in this kind of little scripts but in large scrips it would be useful to know what are the functions doing in case it seems too confusing or anything. You can always use it to hide a message or whatever, like the Win98 developers did when sending pieces of code to each other. Thing is, the compiler will put them in the .exe but it won't affect it in any way. Those are called comments. Those comments won't affect the code whatsoever but show the comments to whoever is reading the code. It's useless in this kind of little scripts but in large scrips it would be useful to know what are the functions doing in case it seems too confusing or anything. You can always use it to hide a message or whatever, like the Win98 developers did when sending pieces of code to each other. Thing is, the compiler will put them in the .exe but it won't affect it in any way.
  
-There are two types of comments: The standard, which begins with a //. This one tells to the processor "Yo dawg disregard everything that is from the double slash until the end of the line" and the block one, which begins with a /* and ends in a */; which tells the processor "Yo dawg disregard everything that is from the /* and stop disregarding once you find a */".+There are two types of comments: The standard, which begins with a <nowiki>//</nowiki>. This one tells to the processor "Yo dawg disregard everything that is from the double slash until the end of the line" and the block one, which begins with a /* and ends in a */; which tells the processor "Yo dawg disregard everything that is from the /* and stop disregarding once you find a */".
  
 Second: What's the \n thing? Second: What's the \n thing?
tools/cplusplus.1717396531.txt.gz · Last modified: (external edit)

Find this page online at: https://bestpoint.institute/tools/cplusplus