Difference between C++ & Visual C++

This is a discussion on Difference between C++ & Visual C++ within the C++ Programming forums, part of the General Programming Boards category; I've done some C programming and now it's time to learn C++. My local college offers courses in both C++ ...

  1. #1
    Registered User
    Join Date
    Jul 2002
    Posts
    18

    Difference between C++ & Visual C++

    I've done some C programming and now it's time to learn C++.
    My local college offers courses in both C++ and Visual C++.
    What's the difference? Are they used for different types of applications? Is one favored more by industry than the other?

    My goal is to create simple windows applications at work,
    and perhaps continue with my education towards a 2 yr
    degree in CS.

    Thanks for your help.

  2. #2
    Seven years? civix's Avatar
    Join Date
    Jul 2002
    Posts
    605
    Umm... Heres what I think on this.. correct me, guys, if i'm wrong but..
    Visual C++ can only be compiled by Microsoft's VC Compiler?
    I think.
    Not completely sure.
    Chew on that for awhile.

  3. #3
    twm
    twm is offline
    root
    Join Date
    Sep 2003
    Posts
    232
    >What's the difference?
    C++ is a powerful and general programming language that is portable across many platforms. Visual C++ is an application distributed by Microsoft that compiles C++ code and has an IDE that makes Windows GUI programming simpler. In summary, C++ is a programming language, Visual C++ is an application.
    The information given in this message is known to work on FreeBSD 4.8 STABLE.
    *The above statement is false if I was too lazy to test it.*
    Please take note that I am not a technical writer, nor do I care to become one.
    If someone finds a mistake, gleaming error or typo, do me a favor...bite me.
    Don't assume that I'm ever entirely serious or entirely joking.

  4. #4
    Registered User jlou's Avatar
    Join Date
    Jul 2003
    Posts
    1,088
    If you want to do Windows apps, I'd still suggest taking the C++ only classes first. I would guess/hope that they teach you good C++ programming which should give you a good foundation.

    Then, once you feel comfortable with generic C++, you should take a class that uses Visual C++ to build Windows apps.

    Of course, you can still use Visual C++ to do your generic C++ programming. Just because you use the Visual C++ IDE and compiler doesn't mean you have to make Windows programs. If you can, use that in your regular C++ classes and then you'll be comfortable with the environment when you start building GUI apps.

  5. #5
    mustang benny bennyandthejets's Avatar
    Join Date
    Jul 2002
    Posts
    1,401
    I agree with jlou. The C++ classes would most likely offer you a less specific course, which means you may be able to learn more eventually. Can you get a course strcture for both courses? That would show where the differences and similarities are.
    benforbes@optusnet.com.au
    Microsoft Visual Studio .NET 2003 Enterprise Architect
    Windows XP Pro

    Code Tags
    Programming FAQ
    Tutorials

  6. #6
    Hardware Engineer
    Join Date
    Sep 2001
    Posts
    1,398
    Visual C++ is an application.
    Yes. It is Microsoft's compiler (IDE = Integrated Development Environment.)

    It runs in a window, and it can compile Windows applications as well as console applications in either C or C++.

    There are other compilers that can compile Windows applications. This ability is "above and beyond" the ANSI/ISO C++ language standard.

    Check the course prerequisites for the Visual C++ class. They may not requre C++ first. For example, in Programing Windows, Charles Petzold uses C in all of his examples. (I assume this class is going to teach you to write Windows applications using the Visual C++ compiler.) You will need to take the generic C++ class (or self-study) at some point, because there is too much Windows-specific information to cover both topics in one course.

    You can write Windows applications in C, and compile them with the Microsoft Visual C++ compiler. You can include <windows.h> and use the WinAPI functions in either a C, or a C++ program.
    Is one favored more by industry than the other?
    C++ is probably the most common language, and Microsoft Visual C++ is probably the most common compiler. This doesn't mean that everybody uses them. It means that industry is using lots of different tools... I mean maybe Visual C++ is a 10% slice the market (and that's a made-up number), and nobody else has a slice that big.

  7. #7
    Registered User
    Join Date
    Jul 2002
    Posts
    18
    Thanks everyone, for the helpful info!

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Templates and Macros plus more...
    By Monkeymagic in forum C++ Programming
    Replies: 8
    Last Post: 01-20-2007, 05:53 PM
  2. Please Help - Problem with Compilers
    By toonlover in forum C++ Programming
    Replies: 5
    Last Post: 07-23-2005, 11:03 AM
  3. Learning OpenGL
    By HQSneaker in forum C++ Programming
    Replies: 7
    Last Post: 08-06-2004, 09:57 AM
  4. Replies: 3
    Last Post: 07-08-2004, 12:55 AM
  5. header file bringing errors?
    By bluehead in forum Windows Programming
    Replies: 4
    Last Post: 08-19-2003, 01:51 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21