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. New to VC++ .Net

New to VC++ .Net

Scheduled Pinned Locked Moved C / C++ / MFC
c++csharpquestion
7 Posts 2 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.
  • A Offline
    A Offline
    Anonymous
    wrote on last edited by
    #1

    What did they do to VC++? All my VC++ 6 MFC program doesn't work properly. I tried to create a simple Hello World console program in VC++ .net and it gives cout not define.(Got stdio to work but I can't seem to get iostream or iostream.h to work)

    A D 2 Replies Last reply
    0
    • A Anonymous

      What did they do to VC++? All my VC++ 6 MFC program doesn't work properly. I tried to create a simple Hello World console program in VC++ .net and it gives cout not define.(Got stdio to work but I can't seem to get iostream or iostream.h to work)

      A Offline
      A Offline
      Anonymous
      wrote on last edited by
      #2

      With I get a lot of syntax error with cerrno and stdio. Missing { and ':'

      A 1 Reply Last reply
      0
      • A Anonymous

        With I get a lot of syntax error with cerrno and stdio. Missing { and ':'

        A Offline
        A Offline
        Anonymous
        wrote on last edited by
        #3

        c:\Program Files\Microsoft Visual Studio .NET\Vc7\include\cerrno(16): error C2143: syntax error : missing '{' before ':' c:\Program Files\Microsoft Visual Studio .NET\Vc7\include\cerrno(16): error C2059: syntax error : ':' c:\Program Files\Microsoft Visual Studio .NET\Vc7\include\cstdio(15): error C2143: syntax error : missing '{' before ':' c:\Program Files\Microsoft Visual Studio .NET\Vc7\include\cstdio(15): error C2143: syntax error : missing '{' before ':' c:\Program Files\Microsoft Visual Studio .NET\Vc7\include\cstdlib(15): error C2143: syntax error : missing '{' before ':' c:\Program Files\Microsoft Visual Studio .NET\Vc7\include\cstdlib(15): error C2059: syntax error : ':'

        1 Reply Last reply
        0
        • A Anonymous

          What did they do to VC++? All my VC++ 6 MFC program doesn't work properly. I tried to create a simple Hello World console program in VC++ .net and it gives cout not define.(Got stdio to work but I can't seem to get iostream or iostream.h to work)

          D Offline
          D Offline
          Demonware666
          wrote on last edited by
          #4

          #include using namespace std; int main() { cout << "Hello World" << endl; } this will output as: Hello World ALL YOUR BASE ARE BELONG TO MICROSOFT! Demonware Studios Leader

          A D 2 Replies Last reply
          0
          • D Demonware666

            #include using namespace std; int main() { cout << "Hello World" << endl; } this will output as: Hello World ALL YOUR BASE ARE BELONG TO MICROSOFT! Demonware Studios Leader

            A Offline
            A Offline
            Anonymous
            wrote on last edited by
            #5

            Nope. Don't you need to #include Currently this is what I have #include using namespace std; void main() { cout << "Hello World." << endl; } But getting a lot of c:\Program Files\Microsoft Visual Studio .NET\Vc7\include\cerrno(16): error C2143: syntax error : missing '{' before ':' c:\Program Files\Microsoft Visual Studio .NET\Vc7\include\cerrno(16): error C2059: syntax error : ':' c:\Program Files\Microsoft Visual Studio .NET\Vc7\include\cstdlib(15): error C2143: syntax error : missing '{' before ':' c:\Program Files\Microsoft Visual Studio .NET\Vc7\include\cstdlib(15): error C2059: syntax error : ':'

            A 1 Reply Last reply
            0
            • A Anonymous

              Nope. Don't you need to #include Currently this is what I have #include using namespace std; void main() { cout << "Hello World." << endl; } But getting a lot of c:\Program Files\Microsoft Visual Studio .NET\Vc7\include\cerrno(16): error C2143: syntax error : missing '{' before ':' c:\Program Files\Microsoft Visual Studio .NET\Vc7\include\cerrno(16): error C2059: syntax error : ':' c:\Program Files\Microsoft Visual Studio .NET\Vc7\include\cstdlib(15): error C2143: syntax error : missing '{' before ':' c:\Program Files\Microsoft Visual Studio .NET\Vc7\include\cstdlib(15): error C2059: syntax error : ':'

              A Offline
              A Offline
              Anonymous
              wrote on last edited by
              #6

              Got this to work #include int main(){ std::cout << "Hello World" << std::endl; } :confused:

              1 Reply Last reply
              0
              • D Demonware666

                #include using namespace std; int main() { cout << "Hello World" << endl; } this will output as: Hello World ALL YOUR BASE ARE BELONG TO MICROSOFT! Demonware Studios Leader

                D Offline
                D Offline
                Demonware666
                wrote on last edited by
                #7

                I forgot to check th 'do not treat carrots as tags box' :P so this is what i meant #include ALL YOUR BASE ARE BELONG TO MICROSOFT! Demonware Studios Leader

                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