Skip to content
geeksforgeeks
  • Courses
    • DSA to Development
    • Get IBM Certification
    • Newly Launched!
      • Master Django Framework
      • Become AWS Certified
    • For Working Professionals
      • Interview 101: DSA & System Design
      • Data Science Training Program
      • JAVA Backend Development (Live)
      • DevOps Engineering (LIVE)
      • Data Structures & Algorithms in Python
    • For Students
      • Placement Preparation Course
      • Data Science (Live)
      • Data Structure & Algorithm-Self Paced (C++/JAVA)
      • Master Competitive Programming (Live)
      • Full Stack Development with React & Node JS (Live)
    • Full Stack Development
    • Data Science Program
    • All Courses
  • Tutorials
    • Data Structures & Algorithms
    • ML & Data Science
    • Interview Corner
    • Programming Languages
    • Web Development
    • CS Subjects
    • DevOps And Linux
    • School Learning
  • Practice
    • Build your AI Agent
    • GfG 160
    • Problem of the Day
    • Practice Coding Problems
    • GfG SDE Sheet
  • Contests
    • Accenture Hackathon (Ending Soon!)
    • GfG Weekly [Rated Contest]
    • Job-A-Thon Hiring Challenge
    • All Contests and Events
  • DSA
  • Practice Problems
  • Python
  • C
  • C++
  • Java
  • Courses
  • Machine Learning
  • DevOps
  • Web Development
  • System Design
  • Aptitude
  • Projects
Similar Topics
Web Technologies
39.3k+ articles
C++
4.2k+ articles
Difference Between
3.6k+ articles
C++ Programs
2.4k+ articles
C Language
1.9k+ articles
CPP Examples
700+ articles
C/C++ Puzzles
170+ articles
cpp-class
57 articles
cpp-puzzle
32 articles
C++ Errors
21 articles

cpp-namespaces

6 posts
How to Resolve a Name Conflict in C++?
Last Updated: 11 March 2024
In C++, naming conflict occurs when two identifiers in the same scope have the same name and the compiler cannot infer which identifier to r ...read more
cpp-namespaces
C++
C++ Programs
Picked
C++ Errors
CPP Examples
Difference between namespace and class
Last Updated: 09 November 2022
Classes are data types. They are an expanded concept of structures, they can contain data members, but they can also contain functions as me ...read more
cpp-namespaces
cpp-class
C++
Difference Between
C/C++ Puzzles
Why "using namespace std" is considered bad practice
Last Updated: 29 March 2024
The statement using namespace std is generally considered bad practice. The alternative to this statement is to specify the namespace to whi ...read more
cpp-namespaces
cpp-puzzle
C++
Similar Topics
Web Technologies
39.3k+ articles
C++
4.2k+ articles
Difference Between
3.6k+ articles
C++ Programs
2.4k+ articles
C Language
1.9k+ articles
CPP Examples
700+ articles
C/C++ Puzzles
170+ articles
cpp-class
57+ articles
cpp-puzzle
32+ articles
C++ Errors
21+ articles
Cons of using the whole namespace in C++
Last Updated: 15 June 2017
A namespace is a declarative region that provides a scope to the identifiers (the names of types, functions, variables, etc) inside it. Name ...read more
cpp-namespaces
C++
C++ Inline Namespaces and Usage of the "using" Directive Inside Namespaces
Last Updated: 09 March 2023
Prerequisite: Namespaces in C++In C++, namespaces can be nested, and the resolution of namespace variables is hierarchical. An inline namesp ...read more
cpp-namespaces
C++
Namespace in C++
Last Updated: 23 April 2025
Name conflicts in C++ happen when different parts of a program use the same name for variables, functions, or classes, causing confusion for ...read more
cpp-namespaces
C Language
C++
1
1
1
geeksforgeeks-footer-logo
Corporate & Communications Address:
A-143, 7th Floor, Sovereign Corporate Tower, Sector- 136, Noida, Uttar Pradesh (201305)
Registered Address:
K 061, Tower K, Gulshan Vivante Apartment, Sector 137, Noida, Gautam Buddh Nagar, Uttar Pradesh, 201305
GFG App on Play Store GFG App on App Store
Advertise with us
  • Company
  • About Us
  • Legal
  • Privacy Policy
  • In Media
  • Contact Us
  • Advertise with us
  • GFG Corporate Solution
  • Placement Training Program
  • Languages
  • Python
  • Java
  • C++
  • PHP
  • GoLang
  • SQL
  • R Language
  • Android Tutorial
  • Tutorials Archive
  • DSA
  • Data Structures
  • Algorithms
  • DSA for Beginners
  • Basic DSA Problems
  • DSA Roadmap
  • Top 100 DSA Interview Problems
  • DSA Roadmap by Sandeep Jain
  • All Cheat Sheets
  • Data Science & ML
  • Data Science With Python
  • Data Science For Beginner
  • Machine Learning
  • ML Maths
  • Data Visualisation
  • Pandas
  • NumPy
  • NLP
  • Deep Learning
  • Web Technologies
  • HTML
  • CSS
  • JavaScript
  • TypeScript
  • ReactJS
  • NextJS
  • Bootstrap
  • Web Design
  • Python Tutorial
  • Python Programming Examples
  • Python Projects
  • Python Tkinter
  • Python Web Scraping
  • OpenCV Tutorial
  • Python Interview Question
  • Django
  • Computer Science
  • Operating Systems
  • Computer Network
  • Database Management System
  • Software Engineering
  • Digital Logic Design
  • Engineering Maths
  • Software Development
  • Software Testing
  • DevOps
  • Git
  • Linux
  • AWS
  • Docker
  • Kubernetes
  • Azure
  • GCP
  • DevOps Roadmap
  • System Design
  • High Level Design
  • Low Level Design
  • UML Diagrams
  • Interview Guide
  • Design Patterns
  • OOAD
  • System Design Bootcamp
  • Interview Questions
  • Inteview Preparation
  • Competitive Programming
  • Top DS or Algo for CP
  • Company-Wise Recruitment Process
  • Company-Wise Preparation
  • Aptitude Preparation
  • Puzzles
  • School Subjects
  • Mathematics
  • Physics
  • Chemistry
  • Biology
  • Social Science
  • English Grammar
  • Commerce
  • World GK
  • GeeksforGeeks Videos
  • DSA
  • Python
  • Java
  • C++
  • Web Development
  • Data Science
  • CS Subjects
@GeeksforGeeks, Sanchhaya Education Private Limited, All rights reserved
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our Cookie Policy & Privacy Policy
Lightbox