Thread: C/C++ Objective questions

  1. #16
    Banned
    Join Date
    Nov 2007
    Posts
    678
    ok. that site is olde' and crappe'.
    now please provide the OP with an alternate, better site, instead of nit picking

  2. #17
    Master Apprentice phantomotap's Avatar
    Join Date
    Jan 2008
    Posts
    5,108
    On the contrary, it should bother you.
    It doesn't. Discussing issues of threads/locking/etc. can't be done in the realm of standard C++ because the standard allows reordering of instructions and provides no primitives for such constructs. You may as well discuss GUI constructs for all of their validity in the realm of standard C++.

    It's faster because it's less complex than today's standards require.
    O_o

    Hah. Who said anything about it being faster? It is actually more advanced in many areas than most compilers distrusted today as modern, conforming, C++ compilers. Do any of you know the history of the compiler or the C++ standard? Most of the techniques today called "modern C++" was invented/discovered only because of the robust support for templates in that compiler. Microsoft first managed a compiler capable of compiling conforming source, that version 4.0 of Turbo C++ can easily compile, in 2005.

    Get over yourselves; the compiler still outperforms, in many areas, most compilers from most distributors for any platform.

    Soma

  3. #18
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    Quote Originally Posted by phantomotap View Post
    It doesn't. Discussing issues of threads/locking/etc. can't be done in the realm of standard C++ because the standard allows reordering of instructions and provides no primitives for such constructs. You may as well discuss GUI constructs for all of their validity in the realm of standard C++.
    This is Windows specific, and there's no need to discuss about that just yet. Nevertheless, such things are required in today's world, so it is a good idea to talk about them.

    Hah. Who said anything about it being faster? It is actually more advanced in many areas than most compilers distrusted today as modern, conforming, C++ compilers. Do any of you know the history of the compiler or the C++ standard? Most of the techniques today called "modern C++" was invented/discovered only because of the robust support for templates in that compiler. Microsoft first managed a compiler capable of compiling conforming source, that version 4.0 of Turbo C++ can easily compile, in 2005.

    Get over yourselves; the compiler still outperforms, in many areas, most compilers from most distributors for any platform.
    It doesn't. It's old; it's horrible and limited to DOS environments and all of its disadvantages. Writing a compiler is a difficult thing. When did Turbo C++ start vs Visual C++?
    Microsoft may not be the best company at creating software, but that is irrelevant. Microsoft's compiler adheres to the newest C++ standard available, Turbo C++ does not and that, aside from its DOS limitation, is reason enough to get rid of it.
    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.

  4. #19
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    28,412
    It is actually more advanced in many areas than most compilers distrusted today as modern, conforming, C++ compilers. Do any of you know the history of the compiler or the C++ standard? Most of the techniques today called "modern C++" was invented/discovered only because of the robust support for templates in that compiler. Microsoft first managed a compiler capable of compiling conforming source, that version 4.0 of Turbo C++ can easily compile, in 2005.

    Get over yourselves; the compiler still outperforms, in many areas, most compilers from most distributors for any platform.
    I think that it does not really matter how important the test compiler was historically, or even how relatively good it is now, but how good the technical questions, answers and explanations are.

    Several of the code examples given obviously do not conform to the C++ standard despite using what should be standard constructs, but that matters less than that some of the examples are bad examples, that the code examples are not consistently formatted, and that the decision to use special characters makes for an impediment to reading and testing out the code. On the other hand, many of the questions that I looked at are generally not bad at all, and many examples and explanations are accurate.

    My conclusion is that we are looking at something that needs to be updated and polished, but other than that it is fine if prayami already has a reasonable grasp of standard C++.

    Off topic:
    You're Zero Valintine, formerly a user from the Dev-C++ forums on Sourceforge (if I remember correctly)?
    Quote Originally Posted by Bjarne Stroustrup (2000-10-14)
    I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool.
    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  5. #20
    and the hat of sweating
    Join Date
    Aug 2007
    Location
    Toronto, ON
    Posts
    3,545
    Quote Originally Posted by phantomotap View Post
    Hah. Who said anything about it being faster? It is actually more advanced in many areas than most compilers distrusted today as modern, conforming, C++ compilers. Do any of you know the history of the compiler or the C++ standard? Most of the techniques today called "modern C++" was invented/discovered only because of the robust support for templates in that compiler. Microsoft first managed a compiler capable of compiling conforming source, that version 4.0 of Turbo C++ can easily compile, in 2005.

    Get over yourselves; the compiler still outperforms, in many areas, most compilers from most distributors for any platform.

    Soma
    Do you have any specific evidence such as links to credible websites that can back up those claims or are you just pulling those opinions out of your ass?
    Turbo C++ might be great for compiling DOS programs, but if DOS is extinct, then who cares?

  6. #21
    Master Apprentice phantomotap's Avatar
    Join Date
    Jan 2008
    Posts
    5,108
    I think that it does not really matter how important the test compiler was historically, or even how relatively good it is now, but how good the technical questions, answers and explanations are.
    Exactly. You'll notice I haven't argued with anyone that said the answers were wrong or misleading. I haven't read the questions in a very long time. Laying the malformation of the questions/answers on a compiler/platform is... well, actually rather funny!

    That said, I do disagree that having all the questions following some specific formating should be desired. If a person could only find a flaw if the formatting was what they personally used then they need that experience.

    You're Zero Valintine, formerly a user from the Dev-C++ forums on Sourceforge (if I remember correctly)?
    "Visitor" would be more correct; just as I am here. "User", I feel, would imply I get something out of it.

    Do you have any specific evidence such as links to credible websites that can back up those claims or are you just pulling those opinions out of your ass?
    No. They certainly exist. They are very easy to find. I just have no intention of wasting my time providing such links.

    Soma

  7. #22
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    28,412
    That said, I do disagree that having all the questions following some specific formating should be desired. If a person could only find a flaw if the formatting was what they personally used then they need that experience.
    Not specific, but consistent (and reasonable, of course).

    "Visitor" would be more correct; just as I am here. "User", I feel, would imply I get something out of it.
    As a visitor, you (and I) used the Sourceforge forum functionality, so that makes you a user. But yes, good to see you again
    Quote Originally Posted by Bjarne Stroustrup (2000-10-14)
    I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool.
    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  8. #23
    Master Apprentice phantomotap's Avatar
    Join Date
    Jan 2008
    Posts
    5,108
    It hasn't been as long as you apparently think. I've visited this forum for a few weeks from time to time since 2003... when you told me this is where you were going.

    Still, yes, good to see you as well.

    Soma

    (Nope, not this username. I couldn't convince anyone that I was me when I forgot my password and no longer had access to my Hotmail account. ;_

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. questions....so many questions about random numbers....
    By face_master in forum C++ Programming
    Replies: 2
    Last Post: 07-30-2009, 08:47 AM
  2. A very long list of questions... maybe to long...
    By Ravens'sWrath in forum C Programming
    Replies: 16
    Last Post: 05-16-2007, 05:36 AM
  3. Several Questions, main one is about protected memory
    By Tron 9000 in forum C Programming
    Replies: 3
    Last Post: 06-02-2005, 07:42 AM
  4. Trivial questions - what to do?
    By Aerie in forum A Brief History of Cprogramming.com
    Replies: 23
    Last Post: 12-26-2004, 09:44 AM
  5. questions questions questions.....
    By mfc2themax in forum A Brief History of Cprogramming.com
    Replies: 1
    Last Post: 08-14-2001, 07:22 AM