Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Invalid application of 'sizeof' to incomplete type 'struct Node'

Invalid application of 'sizeof' to incomplete type 'struct Node'

Scheduled Pinned Locked Moved C / C++ / MFC
helpquestion
8 Posts 4 Posters 35 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Z Offline
    Z Offline
    ZAID razvi
    wrote on last edited by
    #1

    Cause of this error ?

    V CPalliniC 2 Replies Last reply
    0
    • Z ZAID razvi

      Cause of this error ?

      V Offline
      V Offline
      Victor Nijegorodov
      wrote on last edited by
      #2

      ZAID razvi wrote:

      Cause of this error ?

      Since you didn't provide any code snippets or problem description then: [error invalid application of 'sizeof' to incomplete type - Google Search](https://www.google.com/search?q=error+invalid+application+of+'sizeof'+to+incomplete+type&oq=Invalid-application-of-sizeof-to-incomplete-type-s&aqs=chrome.1.69i57j0i546l2.9455j0j7&sourceid=chrome&ie=UTF-8#ip=1)

      Z 1 Reply Last reply
      0
      • Z ZAID razvi

        Cause of this error ?

        CPalliniC Offline
        CPalliniC Offline
        CPallini
        wrote on last edited by
        #3

        The error message is clear: at the point the compiler encounters sizeof(struct Node) (or sizeof(nd), or whatever...) it doesn't know the size, because the complete declaration of struct Node is missing. You could post the relevant code, in order to get better help.

        "In testa che avete, Signor di Ceprano?" -- Rigoletto

        In testa che avete, signor di Ceprano?

        T Z 2 Replies Last reply
        0
        • CPalliniC CPallini

          The error message is clear: at the point the compiler encounters sizeof(struct Node) (or sizeof(nd), or whatever...) it doesn't know the size, because the complete declaration of struct Node is missing. You could post the relevant code, in order to get better help.

          "In testa che avete, Signor di Ceprano?" -- Rigoletto

          T Offline
          T Offline
          ThatsAlok
          wrote on last edited by
          #4

          Still here :-)

          CPalliniC 1 Reply Last reply
          0
          • T ThatsAlok

            Still here :-)

            CPalliniC Offline
            CPalliniC Offline
            CPallini
            wrote on last edited by
            #5

            It's been a while... Nice to see you again. How do you do?

            "In testa che avete, Signor di Ceprano?" -- Rigoletto

            In testa che avete, signor di Ceprano?

            1 Reply Last reply
            0
            • CPalliniC CPallini

              The error message is clear: at the point the compiler encounters sizeof(struct Node) (or sizeof(nd), or whatever...) it doesn't know the size, because the complete declaration of struct Node is missing. You could post the relevant code, in order to get better help.

              "In testa che avete, Signor di Ceprano?" -- Rigoletto

              Z Offline
              Z Offline
              ZAID razvi
              wrote on last edited by
              #6

              Thanks sir it helped me alot

              CPalliniC 1 Reply Last reply
              0
              • V Victor Nijegorodov

                ZAID razvi wrote:

                Cause of this error ?

                Since you didn't provide any code snippets or problem description then: [error invalid application of 'sizeof' to incomplete type - Google Search](https://www.google.com/search?q=error+invalid+application+of+'sizeof'+to+incomplete+type&oq=Invalid-application-of-sizeof-to-incomplete-type-s&aqs=chrome.1.69i57j0i546l2.9455j0j7&sourceid=chrome&ie=UTF-8#ip=1)

                Z Offline
                Z Offline
                ZAID razvi
                wrote on last edited by
                #7

                Thanks for replying sir The problem is solved I'll let you know If encountered any other

                1 Reply Last reply
                0
                • Z ZAID razvi

                  Thanks sir it helped me alot

                  CPalliniC Offline
                  CPalliniC Offline
                  CPallini
                  wrote on last edited by
                  #8

                  You are welcome.

                  "In testa che avete, Signor di Ceprano?" -- Rigoletto

                  In testa che avete, signor di Ceprano?

                  1 Reply Last reply
                  0
                  Reply
                  • Reply as topic
                  Log in to reply
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes


                  • Login

                  • Don't have an account? Register

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • World
                  • Users
                  • Groups