Thread: c++ compiler?!

  1. #1
    Registered User
    Join Date
    Nov 2003
    Posts
    183

    c++ compiler?!

    Hello

    Is it possible to use Visual Studio.Net to write a c++ code? (I know it has visual c++ but what about c++ itself?)
    I am asking for the ones who are going to learn C++ not the ones who have already learnt it.

    I use Visual Studio to write C# codes and my brother wants to learn programming (his plan is to start with c++). I dont know if he has to buy and install a new compiler or ....

    Thank you

  2. #2
    Registered User
    Join Date
    Dec 2007
    Posts
    2,675
    Yes, if Visual C++ is installed, and it's not just Visual C#. Just do NOT choose a CLR project when creating a new project.

  3. #3
    Registered User
    Join Date
    Nov 2003
    Posts
    183
    thank you for such a fast respons

    yes we have
    ATL-CLR-General-MFC-Smart Device-Test and Win32

    Should he choose "General"

    I remember C++ (I think I used to have Borland c++) has such instructions like "include <Iostream.h>" and ...

    are they the same here in visual studio?

  4. #4
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    ATL/MFC/Win32 are C++ projects. The former might not be suitable for someone starting out since they are somewhat specialized.
    ISO C++ includes statements such as #include <iostream> (without the .h).
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Compiler Paths...
    By Cobra in forum C++ Programming
    Replies: 5
    Last Post: 09-26-2006, 04:04 AM
  2. C Compiler and stuff
    By pal1ndr0me in forum C Programming
    Replies: 10
    Last Post: 07-21-2006, 11:07 AM
  3. I can't get this new compiler to work.
    By Loduwijk in forum C++ Programming
    Replies: 7
    Last Post: 03-29-2006, 06:42 AM
  4. how to call a compiler?
    By castlelight in forum C Programming
    Replies: 3
    Last Post: 11-22-2005, 11:28 AM
  5. Bad code or bad compiler?
    By musayume in forum C Programming
    Replies: 3
    Last Post: 10-22-2001, 09:08 PM