Skip to main content
added 8 characters in body
Source Link
JimmyB
  • 3.9k
  • 2
  • 20
  • 21

statics are not visible outside of the current compilation unit, or "translation unit". This is not the same as the same file.

Notice that you include the header file into any source file where you may need the variables declared in the header. This inclusion makes the header file a part of the current translation unit and (an instance of) the variable visible inside every compilation unit which includes the header fileit.

statics are not visible outside of the current compilation unit, or "translation unit". This is not the same as the same file.

Notice that you include the header file into any source file where you may need the variables declared in the header. This inclusion makes (an instance of) the variable visible inside every compilation unit which includes the header file.

statics are not visible outside of the current compilation unit, or "translation unit". This is not the same as the same file.

Notice that you include the header file into any source file where you may need the variables declared in the header. This inclusion makes the header file a part of the current translation unit and (an instance of) the variable visible inside it.

added 23 characters in body
Source Link
JimmyB
  • 3.9k
  • 2
  • 20
  • 21

statics are not visible outside of the current compilation unit, or "translation unit". This is not the same as the same file.

Notice that you include the header file into any source file where you may need the variables declared in the header. This inclusion makes (an instance of) the variable visible inside every compilation unit which includes the header file.

statics are not visible outside of the current compilation unit. This is not the same as the same file.

Notice that you include the header file into any source file where you may need the variables declared in the header. This inclusion makes (an instance of) the variable visible inside every compilation unit which includes the header file.

statics are not visible outside of the current compilation unit, or "translation unit". This is not the same as the same file.

Notice that you include the header file into any source file where you may need the variables declared in the header. This inclusion makes (an instance of) the variable visible inside every compilation unit which includes the header file.

added 79 characters in body
Source Link
JimmyB
  • 3.9k
  • 2
  • 20
  • 21

statics are not visible outside of the current compilation unitcompilation unit. This is not the same as the same file.

Notice that you include the header file into any source file where you may need the variables declared in the header. This inclusion makes (an instance of) the variable visible inside every compilation unit which includes the header file.

statics are not visible outside of the current compilation unit. This is not the same as the same file.

Notice that you include the header file into any source file where you may need the variables declared in the header. This inclusion makes (an instance of) the variable visible inside every compilation unit which includes the header file.

statics are not visible outside of the current compilation unit. This is not the same as the same file.

Notice that you include the header file into any source file where you may need the variables declared in the header. This inclusion makes (an instance of) the variable visible inside every compilation unit which includes the header file.

Source Link
JimmyB
  • 3.9k
  • 2
  • 20
  • 21
Loading