are there more wrong things like void main()?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dorkz
    Banned
    New Member
    • Aug 2007
    • 14

    are there more wrong things like void main()?

    are there more wrong things like void main() , and <iostream.h> ?
  • JosAH
    Recognized Expert MVP
    • Mar 2007
    • 11453

    #2
    Originally posted by dorkz
    are there more wrong things like void main() , and <iostream.h> ?
    You could've googled for that; it would've been faster.

    kind regards,

    Jos

    Comment

    • sicarie
      Recognized Expert Specialist
      • Nov 2006
      • 4677

      #3
      Jos -

      Mind posting the Google search string you used to find that?
      Last edited by sicarie; Aug 14 '07, 02:15 PM. Reason: Changing phrasing

      Comment

      • dorkz
        Banned
        New Member
        • Aug 2007
        • 14

        #4
        what do you mean google? google is a searching machine, what do you mean ?

        Comment

        • sicarie
          Recognized Expert Specialist
          • Nov 2006
          • 4677

          #5
          Originally posted by dorkz
          what do you mean google? google is a searching machine, what do you mean ?
          Jos is verbing words again, but his point is very valid - most questions on here could be answered faster and more accurately via a Google search than by posting and waiting for a Mod/Expert/Member to answer.

          Comment

          • JosAH
            Recognized Expert MVP
            • Mar 2007
            • 11453

            #6
            I even made that 'googled' a link to the right place; what more could I've done to
            answer the question? All you need to do is click that link; hint: 'googled' is rendered
            in blue.

            kind regards,

            Jos

            Comment

            • dorkz
              Banned
              New Member
              • Aug 2007
              • 14

              #7
              aaa, yes , actually if people search on google for faults been maked like void , its faster?

              Comment

              • oler1s
                Recognized Expert Contributor
                • Aug 2007
                • 671

                #8
                Trying to talk about what is wrong is hard. Breaking from the standard is wrong would be an excellent catch-all. That's what void main and <iostream.h> do, they break from the standard, either relying on something that is wrong or obsolete.

                EDIT:
                Yes, Google searching is faster. You aren't the first one to be asking these questions. They have been talked about in articles, written up in resources like Wikipedia, and generally answered in forum posts.

                Comment

                • JosAH
                  Recognized Expert MVP
                  • Mar 2007
                  • 11453

                  #9
                  Originally posted by dorkz
                  aaa, yes , actually if people search on google for faults been maked like void , its faster?
                  yep it is

                  Comment

                  • dorkz
                    Banned
                    New Member
                    • Aug 2007
                    • 14

                    #10
                    someone knows very good C++ compilers?

                    Comment

                    • oler1s
                      Recognized Expert Contributor
                      • Aug 2007
                      • 671

                      #11
                      Google is your friend.

                      Comment

                      • JosAH
                        Recognized Expert MVP
                        • Mar 2007
                        • 11453

                        #12
                        Originally posted by oler1s
                        Google is your friend.
                        :-)

                        kind regards,

                        Jos

                        Comment

                        Working...