Skip to content

Truth in Software

Common Code, Coding Conundrums, Creative Cures, Computing Craft

Month: July 2018

What’s the one thing you should never do with a NULL pointer?

Ken Gregg July 31, 2018January 29, 2021

In the C programming language (and in C++), NULL pointers are often used as sentinels for detecting the end of a data structure (e.g., the last node’s next pointer on a linked list, the first node’s previous pointer on a doubly-linked list, child pointers in …

Read more
The C Programming Language

Why do I often see int instead of bool returned by Boolean functions in C and C++?

Ken Gregg July 9, 2018January 29, 2021

There are various reasons for using the int data type to represent Boolean return values, function parameters, or variables in C and C++. Some are historical and traditional. Boolean types in C Before the C99 standard, there was no official …

Read more
C and C++ Languages

What happened to the .h in C++ header files?

Ken Gregg July 5, 2018January 29, 2021

In C++, the standard library headers are not necessarily implemented as files, and thus have no file extensions. The compiler implementation is free to implement headers however they wish. They might be files, they might be built into the compiler, they might …

Read more
The C++ Programming Language

Links

  • Log in
  • Register
  • Entries RSS
  • Comments RSS
  • Blog Home
  • Bytellect LLC Home
  • Recommended Reading
  • Free Developer Resources

Categories

  • Bytellect LLC (4)
  • Computing History (2)
  • Operating Systems (2)
    • Windows (1)
  • Software Development (61)
    • .NET Framework (1)
    • Best Practice (10)
      • Code Reviews (1)
      • Maintainability (3)
      • Program Organization (2)
    • C and C++ Languages (9)
    • Code Optimization (3)
    • Data Structures and Algorithms (2)
    • Programming Languages (5)
    • Programming Paradigms (1)
      • Object-Oriented Programming (1)
    • Project Management (2)
    • Software Testing (2)
    • The Business of Software (3)
      • Career Advice for Software Engineers (2)
    • The C Programming Language (8)
    • The C++ Programming Language (7)
    • Visual Studio (3)
    • Windows Programming (1)
  • Vintage Computing (1)
    • TRS-80 (1)

Archives

Recommended Reading





More Recommended Reading

Bytellect LLC is a participant in the Amazon Associates Program, and may earn commissions from qualifying purchases at Amazon.com.


Tags

C++C programming languagelanguage featurecode maintainabilitycareer developmentcode readabilityThe C# Programming Languageportabilitycareer advicecoding standardsreadabilitysource code portabilityvisual studiocompiler optimizationsoftware maintenancelow-level languageprogrammingC99 standardBoolean data typekeyword
More Tags Less Tags
Bytellect LLC Logo

Terms of Use  |  Privacy Policy  |  Cookie Policy

Copyright © 2017- Bytellect LLC.   All rights reserved.

Copyright © 2021 Truth in Software.
Powered by WordPress. | Theme: colorskin by Dimitrakopoulos.