Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7054071
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T03:34:55+00:00 2026-05-28T03:34:55+00:00

I am going through C++ FAQ by cline. It discusses about how C++ classes

  • 0

I am going through C++ FAQ by cline. It discusses about how C++ classes are better than “C-style modules”. One can refer the text here.

But it doesn’t discuss what a “C module” actually is. I read some texts on the net, but none of them dealt with the topic.

Can anyone explain these concepts further?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T03:34:55+00:00Added an answer on May 28, 2026 at 3:34 am

    C does not have a concept of modules, as such. It has the concept of “translation unit”, which is (roughly) the .c file plus the contents of the headers it includes, directly or indirectly. The translation units get compiled independently, and then linked together into an executable program.

    A translation unit gives a little bit of namespace management: you can define names of functions and variables as static, so that they’re only visible inside the translation unit. This is much less helpful than, say, C++ classes, where name conflicts are easier to avoid.

    Look at languages like, say, Python, for even better solutions for that.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

While going through a WP7.5 background transfer service policy, one can read the following:
After going through the Appendix A, C# Coding Style Conventions of the great book
I was going through: C++ FAQs about inheritance and decided to implement it just
Lately, I've been reading much about constructors from the well-received C++ FAQ . One
Going through the documentation of the SDF, i found many classes like the BitmapEx
After going through a lot of articles on IDisposable , I got confused about
Been going through some framework classes using reflector and noticed a number of the
While going through one of the problems in Python Challenge , I am trying
After going through the discussion here I have one more question now. Lets assume,
After going through few articles about performance, Not able to get this statement exactly.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.