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. I'm lost!

I'm lost!

Scheduled Pinned Locked Moved C / C++ / MFC
helpcsharpvisual-studiotutorial
5 Posts 3 Posters 0 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.
  • L Offline
    L Offline
    Lost User
    wrote on last edited by
    #1

    c:\program files\microsoft visual studio\vc98\include\iostream.h(50) : error C2144: syntax error : missing ';' before type 'long' c:\program files\microsoft visual studio\vc98\include\iostream.h(50) : error C2501: 'initialValue' : missing storage-class or type specifiers c:\program files\microsoft visual studio\vc98\include\iostream.h(50) : fatal error C1004: unexpected end of file found Error executing cl.exe. i don't know y it tells me that there is some error with iostream.h class\ can any one tell me how to fix this please! :confused: :confused:

    J 1 Reply Last reply
    0
    • L Lost User

      c:\program files\microsoft visual studio\vc98\include\iostream.h(50) : error C2144: syntax error : missing ';' before type 'long' c:\program files\microsoft visual studio\vc98\include\iostream.h(50) : error C2501: 'initialValue' : missing storage-class or type specifiers c:\program files\microsoft visual studio\vc98\include\iostream.h(50) : fatal error C1004: unexpected end of file found Error executing cl.exe. i don't know y it tells me that there is some error with iostream.h class\ can any one tell me how to fix this please! :confused: :confused:

      J Offline
      J Offline
      Joaquin M Lopez Munoz
      wrote on last edited by
      #2

      Most probably the problem has not to do with iostream.h file, but with the file #included before it! Try swapping #includes to see what happens. PS: IMHO it's advisable to have #include instead of #include: iostream (without the .h) is the latest version of the iostream library according to the C++ standard. Joaquín M López Muñoz Telefónica, Investigación y Desarrollo

      L 1 Reply Last reply
      0
      • J Joaquin M Lopez Munoz

        Most probably the problem has not to do with iostream.h file, but with the file #included before it! Try swapping #includes to see what happens. PS: IMHO it's advisable to have #include instead of #include: iostream (without the .h) is the latest version of the iostream library according to the C++ standard. Joaquín M López Muñoz Telefónica, Investigación y Desarrollo

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #3

        i tried but it is still not working every time i click the error it takes me to the iostream class file any ideas? thanks :(( :omg:

        J 1 Reply Last reply
        0
        • L Lost User

          i tried but it is still not working every time i click the error it takes me to the iostream class file any ideas? thanks :(( :omg:

          J Offline
          J Offline
          Joaquin M Lopez Munoz
          wrote on last edited by
          #4

          any ideas? Yes, post the code :) Joaquín M López Muñoz Telefónica, Investigación y Desarrollo

          M 1 Reply Last reply
          0
          • J Joaquin M Lopez Munoz

            any ideas? Yes, post the code :) Joaquín M López Muñoz Telefónica, Investigación y Desarrollo

            M Offline
            M Offline
            marouane miftah el kheir
            wrote on last edited by
            #5

            i got it fixed thanks a lot JOAQUIN you are the one man:)

            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