Search code examples
cwindowsblockcodeblocks

cannot find id in c programming lanuage


In Code::Blocks when i run and debug my code it says in the "Build messages section" (error: Cannot find id) I reinstalled both the coding platform (code::blocks) and the compiler individually and nothing has changed.


Solution

  • Try simple program first to see if installation is correct:

    #include <stdio.h>
    
    int main()
    {
        printf("Hello World");
    
        return 0;
    }