C++ Visual and what??

This is a discussion on C++ Visual and what?? within the A Brief History of Cprogramming.com forums, part of the Community Boards category; What's the difference of Visual C++ with other C++? is it the best C++ or something else is better? I ...

  1. #1
    Registered User
    Join Date
    Jun 2006
    Location
    Earth
    Posts
    18

    Question C++ Visual and what??

    What's the difference of Visual C++ with other C++? is it the best C++ or something else is better?
    I ask because i have visaul c++ but i don't know bout the other C++s, and i know that Visual BASIC is different from any other BASIC (QBASIC, TurboBASIC etc..)

  2. #2
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,588
    > What's the difference of Visual C++ with other C++?
    C++ is a language, as defined by ISO
    Visual C++ is an implementation of that language (with several versions to choose from)
    Borland C++ is another implementation of that language (ditto on the versions)
    GNU GCC has a C++ compiler as well.
    etc etc

    > is it the best C++ or something else is better?
    Depends what your measurement of "best" is?
    If you have $$$ and like lots of tools to play with, then it might be.
    If you have $0 and value adherence to standards, then perhaps not.

    It's like choosing a car - you can't be told which is best. You can get some opinions, but in the end you have to start test driving some of them to make a final choice.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  3. #3
    Registered User
    Join Date
    Jun 2006
    Location
    Earth
    Posts
    18
    so are there any major difference?

  4. #4
    Anti-Poster
    Join Date
    Feb 2002
    Posts
    1,399
    Yes.
    If I did your homework for you, then you might pass your class without learning how to write a program like this. Then you might graduate and get your degree without learning how to write a program like this. You might become a professional programmer without knowing how to write a program like this. Someday you might work on a project with me without knowing how to write a program like this. Then I would have to do you serious bodily harm. - Jack Klein

  5. #5
    Registered User
    Join Date
    Jun 2006
    Location
    Earth
    Posts
    18
    what's the most or widel use of the C++?

  6. #6
    Even death may die... Dante Shamest's Avatar
    Join Date
    Apr 2003
    Location
    Malaysia
    Posts
    970
    Gcc/g++

  7. #7
    Registered User
    Join Date
    Jun 2006
    Location
    Earth
    Posts
    18
    G++? is that a kind of C++?

  8. #8
    Registered User whiteflags's Avatar
    Join Date
    Apr 2006
    Location
    United States
    Posts
    7,714
    g++ is the command line compiler command for C++ files if you have the GNU gcc compiler. It's good.

  9. #9
    Anti-Poster
    Join Date
    Feb 2002
    Posts
    1,399
    Hi, you've arrived at a C/C++ programming board.

    C++ is a programming language. Just like any other language, it isn't very useful if the computer doesn't understand it. So, you need a compiler to be able to turn that wonderful C++ code into cryptic machine code. G++ is one such compiler. There are many such compilers; you can find a listing of several of them in the FAQ.

    Note that there is only one 'kind' of C++; however, there are many different compilers.

    Spoonfed enough?
    If I did your homework for you, then you might pass your class without learning how to write a program like this. Then you might graduate and get your degree without learning how to write a program like this. You might become a professional programmer without knowing how to write a program like this. Someday you might work on a project with me without knowing how to write a program like this. Then I would have to do you serious bodily harm. - Jack Klein

  10. #10
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Portugal
    Posts
    7,487
    I understand the confusion, hero_bash.

    C++ implementations can be varied and sometimes we have an hard time choosing wich is better suited. In the beginning of the learning process we even think in terms of "best" and "worst", not realizing those terms are really not applicable. We also try to choose one which has most people using it in the hope it will speed our learning process and that we code "like everone else codes".

    C++ is a programming language defined by ISO. This means that for the most part, all C++ implementations must follow a common skeleton. However, the definition of C++ is so robust and comprehensive that, for the most part, whatever implementation you choose, you are assured an almost complete standards adherence.

    Most C++ implementations give a lot of functionality past what the ISO defines as necessary for C++. Some of these options overlap the standards. However, these same options can be turned off for the most part, allowing the user (read programmer) to maintain a near strict adherence to the standards and ensuring the portability of his code, if he so wishes.

    So, whatever you choose is more a matter of taste for the interface, on an earlier stage of learning. Only later, much later, the choice becomes tied to things like the debugger, compiler and linker. Then and only then terms like "best" and "worst" become relevant. And still, only to some extent, since frankly it's hard to be "bad" on the business of compilers, linkers and debuggers and remain around long enough to cause an impression.

    So choose which one you like best after touring around the interface. My personal favorites are on the signature portion of my post. They are both free.

    Just remember one thing... the last ISO C++ publication is dated of 1998. Any compiler before that is guaranteed to not comply to the most recent standards, like Turbo C++. And any compiler comming shortly after that date may not be fully compliant, like Visual C++ 6.
    The programmer’s wife tells him: “Run to the store and pick up a loaf of bread. If they have eggs, get a dozen.”
    The programmer comes home with 12 loaves of bread.


    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

  11. #11
    Super Moderator VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,596
    If you are going to code in Windows for Windows or DirectX or OpenGL I highly recommend one of the MSVC versions. Even though I'm not a Microsoftie it does make sense to use the compiler that will give you the least amount of troubles with the Win32 API, OGL, and DirectX.

    Several compilers give a lot of people trouble here while attempting to use them under Windows, etc, etc. If you want cross-platform then use GCC. Your choice of compiler is going to depend on what your target platform is going to be, what type of application, etc, etc. For instance, you can do MFC (as a shared DLL) in most any compiler, but coding it the way it was designed to be coded (using Class Wizard and other tools) is going to be 'easiest' (if you call it easy/easier) using MSVC standard 6.0, 2003, or 2005. I don't recommend using 6.0 since it is so deprecated and unsupported. A lot of people complain about standard this or that which is to be expected on this board, but I'm not so sure that Windows complies with any standard this or that given it's assinine implementation. That's not a good thing for sure, but I don't think MS much cares about standard - given their consistent release of compilers that don't completely follow it. Use what works best with your platform of choice.

    I, unlike some here, do NOT recommend using Dev C++. This has been the source of so many issues on this board that I have come to feel it is too much trouble for the little benefit it offers.

    I recommend MSVC 2003 or 2005 .NET standard edition and/or MSVC 2005 express. You can download express for free up to a certain date (which I forget what the date is), so go get it from msdn. It comes complete with their IDE. Microsoft compilers are going to offer you the most bells and whistles, at the cost of some stability (as with all MS products), and at the risk that you may never use or need all the bells and whistles.

    For the absolute fastest compiler I recommend Intel's compiler. This AFAIK is the best compiler out there and has topped all others in terms of speed. I'm not at all familiar with it's IDE or features.
    Last edited by VirtualAce; 06-09-2006 at 01:08 PM.

  12. #12
    ... kermit's Avatar
    Join Date
    Jan 2003
    Posts
    1,528
    Quote Originally Posted by Bubba
    For the absolute fastest compiler I recommend Intel's compiler. This AFAIK is the best compiler out there and has topped all others in terms of speed. I'm not at all familiar with it's IDE or features.
    It should be kept in mind that icc does not necessarily produce consistent results across platforms. It has been noticed that Intel likes to give themselves a bit of a step up on the competition.

    Please Note: I am in no way trying to incite a flame war here over compilers. The above, as stated earlier, is simply something to keep in mind.

  13. #13
    Registered User
    Join Date
    Jun 2006
    Location
    Earth
    Posts
    18
    Wow thanks to everyone.. i get it now. just a question, where do i download the compilers?
    Last edited by hero_bash; 06-09-2006 at 10:50 PM.

  14. #14
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Portugal
    Posts
    7,487
    just a few clicks away from where you search for them on google
    The programmer’s wife tells him: “Run to the store and pick up a loaf of bread. If they have eggs, get a dozen.”
    The programmer comes home with 12 loaves of bread.


    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

  15. #15
    Super Moderator VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,596
    It should be kept in mind that icc does not necessarily produce consistent results across platforms. It has been noticed that Intel likes to give themselves a bit of a step up on the competition.

    Please Note: I am in no way trying to incite a flame war here over compilers.
    Why you little......

    j/k

    I could care less about choice of compilers. Just choose the one you want and go code.
    I'm stuck with MSVC due to my fascination with DirectX and MFC.

Page 1 of 2 12 LastLast
Popular pages Recent additions subscribe to a feed

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