Geekpedia
  • Tech
    • Tutorials
      • ActionScript
      • AI Coding
      • ASP
      • ASP.NET
      • C
      • CSS
      • C#
      • C++
      • Code
      • General
      • HTML
      • Java
      • JavaScript
      • PHP
      • Silverlight
      • SQL
      • Visual Basic
    • Software
      • Communications
      • Development
      • Internet
      • Linux
      • Microsoft
      • Security
      • Windows
  • Gear
  • Mobillity
  • Wellness
  • Knowledge Base
  • Media
    • Pictures
  • News
      • ActionScript
      • AI Coding
      • ASP
      • ASP.NET
      • C
      • CSS
      • C#
      • C++
      • Code
      • General
      • HTML
      • Java
      • JavaScript
      • PHP
      • Silverlight
      • SQL
      • Visual Basic
      • Communications
      • Development
      • Internet
      • Linux
      • Microsoft
      • Security
      • Windows
  • Gear
  • Mobillity
  • Wellness
  • Knowledge Base
    • Pictures
  • News
What is the difference between #define and const?
C++ Knowledge Base
September 21, 2023November 3, 2023Nathan

What is the difference between #define and const?

While they both serve a similar purpose, #define and const act differently. When using #define the identifier gets replaced by the specified value by the compiler, before the code is turned into binary. This means that the compiler makes the substitution when you compile the application. Take for example: #define number 108 In this case […]

Discover
Smart Pointers – Part II
C++ Tutorials
September 21, 2023November 4, 2023Nathan

Smart Pointers – Part II

In this part we implement a Garbage Collection with C++.

Discover

Posts pagination

Previous 1 … 5 6

Trending Posts

Best Phone Case Brands That Blend Protection and Personality

Apr 14, 202511 min read
Read More

Oxford Online Pharmacy’s Most Popular Treatments Explained

Apr 14, 202513 min read
Read More

The Power of Cold

Apr 14, 20259 min read
Read More

Getting Creative with Precision: What xTool Brings to the Table

Apr 12, 202510 min read
Read More

Why Your Internet Feels Slow Even With High Speeds

Apr 8, 202512 min read
Read More
No Post Found

Trending News

The Role of Computers in Combating Climate Change 

Dec 30, 20238 min read
Read More

Top PCIe 4.0 SSDs of 2023: Elevate Your Storage Performance 

Dec 30, 20235 min read
Read More

Advancements in Computer Graphics: Realism in Animation and Film 

Dec 30, 20236 min read
Read More
Image Not Found
Geekpedia is a knowledge-driven website offering fresh takes on tech, wellness, gear, and more — all through a thoughtful lens.
From coding tips to curated lifestyle content, it’s built for those who live smart, think sharp, and stay curious.
FOLLOW US
  • Social Image
  • Social Image
  • Social Image
  • Code
  • Gear
  • Generative AI
  • Knowledge Base
  • News
  • Contact Us
  • Work With Us
  • About Us
  • Affiliate Disclosure
  • FAQ
  • Advertisement
  • Disclaimer
  • Privacy Policy
  • Terms & Conditions