Skip to content

Truth in Software

Common Code, Coding Conundrums, Creative Cures, Computing Craft

Tag: Boolean data type

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’s the difference between _Bool and bool in C?

Ken Gregg January 5, 2018January 29, 2021

In the C programming language, _Bool is a keyword that has been officially part of the the language starting with the C99 standard. When you use _Bool as a data type, you don’t have to including anything special — it’s just another keyword. The …

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.