Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Special Interest Groups
  3. QtonPi
  4. Error : "FILE" is not a type Name
Forum Updated to NodeBB v4.3 + New Features

Error : "FILE" is not a type Name

Scheduled Pinned Locked Moved Unsolved QtonPi
4 Posts 2 Posters 1.7k Views
  • 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.
  • M Offline
    M Offline
    Mobin P.K
    wrote on last edited by
    #1

    Hello guys ,
    I am a beginner in Qt . I have to declare a file pointer using FILE with in a structure as a data member .but while running the code , it shows error : "FILE" is not a type Name . how can I rectify this problem ??

    raven-worxR 1 Reply Last reply
    0
    • M Mobin P.K

      Hello guys ,
      I am a beginner in Qt . I have to declare a file pointer using FILE with in a structure as a data member .but while running the code , it shows error : "FILE" is not a type Name . how can I rectify this problem ??

      raven-worxR Offline
      raven-worxR Offline
      raven-worx
      Moderators
      wrote on last edited by
      #2

      @Mobin-P.K
      add

      #include <stdio.h>
      

      --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
      If you have a question please use the forum so others can benefit from the solution in the future

      M 1 Reply Last reply
      1
      • raven-worxR raven-worx

        @Mobin-P.K
        add

        #include <stdio.h>
        
        M Offline
        M Offline
        Mobin P.K
        wrote on last edited by Mobin P.K
        #3

        @raven-worx

        thanks for your reply . i have already included stdio.h header file.

        raven-worxR 1 Reply Last reply
        0
        • M Mobin P.K

          @raven-worx

          thanks for your reply . i have already included stdio.h header file.

          raven-worxR Offline
          raven-worxR Offline
          raven-worx
          Moderators
          wrote on last edited by
          #4

          @Mobin-P.K
          then you need to show some code.
          FILE is defined in stdio

          --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
          If you have a question please use the forum so others can benefit from the solution in the future

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved