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

  • Home
  • SEARCH
  • 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 7633361
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T06:51:48+00:00 2026-05-31T06:51:48+00:00

I was looking at the source code for ncmpcpp, and I saw this. #include

  • 0

I was looking at the source code for ncmpcpp, and I saw this.

#include <mpd/client.h>

Inside that file are functions which are used by ncmpcpp. But those are just the headers. Don’t the cpp files have to exist somewhere as well? I couldn’t find them in the same directory. Where are they?

Also, when something that’s included is surrounded by < and >, how do I know where to look?

  • 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-31T06:51:48+00:00Added an answer on May 31, 2026 at 6:51 am

    If it’s a third-party library, most likely the source code won’t be included. Nor is it needed. All symbols declared in the headers (which are meant to be used) should be exported in the .lib file which was probably shipped with the headers.

    Unless you have templates, which could be inline.

    You only need the cpp files, or, more generally, the implementation files, if you want to compile the code yourself. Which you don’t. You can use the module having just headers and binaries.

    Of course, the example of open-source projects comes to mind, where all files are generally included, but if it’s a commercial product, why release the source code? What’s keeping any competitors from just copying it and resell it under a new name?

    There’s no standard rule that tells where to look for headers that are delimited by <> or "", but the general consensus is that <> are to be used for system headers (like string or iostream) and "" for own headers (myclass.h). It just tells the compiler where to look first.

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

Sidebar

Related Questions

I'm looking at the source code of a C++ project similar to one that
I was just looking into the source code of an existing project which uses
Looking at the source code of pstats I see this syntax: print >> self.stream,
I occasionally run into this type of syntax when looking through open source code
I'm looking for source code that converts JPG bitmap images to SVG. I will
I'm looking for the whole source code of all the C standard libraries. That
I was looking at this source code and in the attributes declaration there is
This site has the pretty source code listing. Looking into the source code I
Looking at some source code, I found this operator () => { } From
By looking at the source code for LinkedHashMaps from Sun, I see that there

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.