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 7515825
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T00:56:06+00:00 2026-05-30T00:56:06+00:00

I set up CDT for eclipse and wrote a simple hello world C program:

  • 0

I set up CDT for eclipse and wrote a simple hello world C program:

#include <stdio.h>

int main(void){
    puts("Hello, world.");
    return 0;
}

The program builds and runs correctly, but eclipse keeps showing this yellow question mark by the side of inclusion statement that says "Unresolved inclusion: <stdio.h>" when I put mouse over it.

It doesn’t affect running of the program but I find it rather annoying.

Does anyone have any idea how to remove it?

  • 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-30T00:56:09+00:00Added an answer on May 30, 2026 at 12:56 am

    The compiler Eclipse is using is able to resolve the symbols just fine, so the code will compile fine.

    But the code-completion/indexer or preprocessor Eclipse is using doesn’t know where stdio.h exists.

    You need to specify the filesystem path where stdio.h is located.

    The Eclipse documentation describes this in several sections for the compiler:

    • Adding include paths and symbols
    • C/C++ Project Properties, Paths and Symbols, Includes

    And if the code-completion/indexer or preprocessor specifically also cannot locate stdio.h:

    • Setting up include paths and macros for C/C++ indexer
    • C/C++ Project properties: Preprocessor Include Paths, Macros, etc.

    The exact location of stdio.h will depend on the system you are intending to write the code for. If you are writing code for the same system you are running Eclipse on, then the standard location is /usr/include/stdio.h for Linux, macOS, Cygwin, etc.

    If you are cross-compiling for a separate/remote target system (e.g. Android, Raspberry Pi, STM32), then it will be located somewhere in the SDK you installed for that system. You will need to refer to that particular SDK documentation.

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

Sidebar

Related Questions

Recently, I switched from Visual Studio to Eclipse CDT. I've set it up beautifully
Using the in a C++ program, Eclipse CDT marks getopt_long as could not be
How do you set optimization/debugging flags in Eclipse CDT, set up uses GNU tool-chain
I have installed Eclipse & CDT plugin on newly installed Ubuntu. The indexing is
SET ANSI_NULLS ON SET QUOTED_IDENTIFIER ON GO CREATE PROCEDURE [Lending].[uspHMDAUpdateExport] (@BatchId int, @ModifiedById int)
I have just installed Eclipse CDT on my machine for developping C++ applications. I
I have a Kubuntu 11.10 system with Eclipse-CDT Indigo. gcc-4.6 was installed along with
I have installed Eclipse and CDT (to use C/C++ in eclipse CDT is needed),
I have the following boxes: a) A Windows box with Eclipse CDT, b) A
I am working a network programming using eclipse CDT. It worked fine before if

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.