User Tools

Site Tools


glossary:glossary_i

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
glossary:glossary_i [2022/01/26 09:44] WortingUKglossary:glossary_i [2022/01/26 10:42] – [Insulfrog] WortingUK
Line 33: Line 33:
 ===== Include Guard ===== ===== Include Guard =====
  
-A method of preventing a C or C++ header source file, from being included more than once by other files. It uses 'compiler directives' ''#'' to do this.+A method of preventing a C or C++ header source file (.h or .hpp), from being included more than once by other files. It uses 'compiler directives' ''#'' to do this.
  
 ''#ifndef _FILENAME_H_'' ''#ifndef _FILENAME_H_''
Line 43: Line 43:
 ''#endif /* _FILENAME_H_ */'' ''#endif /* _FILENAME_H_ */''
  
-If the compiler supports it, then ''#pragma once'' can be used.+If the compiler supports it, then following can be used 
 + 
 +''#pragma once'' 
 + 
 +''/ contents of the header file go here */''
  
  
Line 71: Line 75:
  
  
-Description used by UK track manufacturer, PECO, to denote turnouts manufactured with an insulated crossing (frog). This avoids the need for polarity switching for the crossing at the expense of poorer current collection for locomotives.+Description used by UK track manufacturer, PECO, to denote turnouts manufactured with an insulated common crossing, AKA frog. This avoids the need for polarity switching for the crossing at the expense of poorer current collection for locomotives. AKA dead frog.
  
  
glossary/glossary_i.txt · Last modified: 2023/07/25 15:55 by JohnFletcher

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki