Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. What happened to the int 2 str article?

What happened to the int 2 str article?

Scheduled Pinned Locked Moved The Lounge
c++question
21 Posts 10 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    Code4Food
    wrote on last edited by
    #1

    I was going to incorporate that into some code I am writing in house... :) You guys really bashed the crap out of that one. I almost felt bad for him for writing it and posting it. Maybe he didn't know about _itoa and such, and thought he created the best thing since sliced bread! I hope he is not depressed, but reading once through "C++ for dummies" does not make you a programmer, you need to at least read it twice. We will probably see him in the VB site now. Code4Food ---- "There is no try; only do or do not" -Yoda

    D I M I B 5 Replies Last reply
    0
    • C Code4Food

      I was going to incorporate that into some code I am writing in house... :) You guys really bashed the crap out of that one. I almost felt bad for him for writing it and posting it. Maybe he didn't know about _itoa and such, and thought he created the best thing since sliced bread! I hope he is not depressed, but reading once through "C++ for dummies" does not make you a programmer, you need to at least read it twice. We will probably see him in the VB site now. Code4Food ---- "There is no try; only do or do not" -Yoda

      D Offline
      D Offline
      David Stone
      wrote on last edited by
      #2

      I hate it when Chris does that! It takes away from my post count dramatically. ;) [update]Oh...I just found out that it doesn't...cool. :rolleyes:[/update]


      Flight to Redmond - £200 Bulldozer Rental - £100 Destroying the MS campus single handedly for not doing an Academic upgrade, PRICELESS! -Jonny Newman

      1 Reply Last reply
      0
      • C Code4Food

        I was going to incorporate that into some code I am writing in house... :) You guys really bashed the crap out of that one. I almost felt bad for him for writing it and posting it. Maybe he didn't know about _itoa and such, and thought he created the best thing since sliced bread! I hope he is not depressed, but reading once through "C++ for dummies" does not make you a programmer, you need to at least read it twice. We will probably see him in the VB site now. Code4Food ---- "There is no try; only do or do not" -Yoda

        I Offline
        I Offline
        Ian Darling
        wrote on last edited by
        #3

        I noticed that - but I don't think it's unreasonable to expect that an article poster has a certain level of competance - after all, these articles are by and large guides for people unfamiliar with a particular technology or an application of that tech. -- Ian Darling

        C 1 Reply Last reply
        0
        • I Ian Darling

          I noticed that - but I don't think it's unreasonable to expect that an article poster has a certain level of competance - after all, these articles are by and large guides for people unfamiliar with a particular technology or an application of that tech. -- Ian Darling

          C Offline
          C Offline
          Code4Food
          wrote on last edited by
          #4

          True I believe quality of articles should be held to their highest standard, but in his defense he did say that it was a "Beginner" article. Code4Food ---- "There is no try; only do or do not" -Yoda

          C 1 Reply Last reply
          0
          • C Code4Food

            True I believe quality of articles should be held to their highest standard, but in his defense he did say that it was a "Beginner" article. Code4Food ---- "There is no try; only do or do not" -Yoda

            C Offline
            C Offline
            Chris Maunder
            wrote on last edited by
            #5

            'Beginner' articles are for beginners, not necessarily by beginners. cheers, Chris Maunder

            C I 2 Replies Last reply
            0
            • C Chris Maunder

              'Beginner' articles are for beginners, not necessarily by beginners. cheers, Chris Maunder

              C Offline
              C Offline
              Code4Food
              wrote on last edited by
              #6

              OK point taken :-O You do want to keep high quality articles here at CP :) But are we going, or should I say you :), move to a point where only articles with a 3 or higher or what not are kept on the site? Code4Food ---- "There is no try; only do or do not" -Yoda

              1 Reply Last reply
              0
              • C Code4Food

                I was going to incorporate that into some code I am writing in house... :) You guys really bashed the crap out of that one. I almost felt bad for him for writing it and posting it. Maybe he didn't know about _itoa and such, and thought he created the best thing since sliced bread! I hope he is not depressed, but reading once through "C++ for dummies" does not make you a programmer, you need to at least read it twice. We will probably see him in the VB site now. Code4Food ---- "There is no try; only do or do not" -Yoda

                M Offline
                M Offline
                Marc Clifton
                wrote on last edited by
                #7

                Code4Food wrote: reading once through "C++ for dummies" does not make you a programmer, you need to at least read it twice There's a quote. :-D Marc Every line of code is a liability - Taka Muraoka
                A doable project is one that is small enough to be done quickly and big enough to be interesting - Ken Orr
                CPP Script Framework Design Page Latest AAL Article AAL blog

                B 1 Reply Last reply
                0
                • M Marc Clifton

                  Code4Food wrote: reading once through "C++ for dummies" does not make you a programmer, you need to at least read it twice There's a quote. :-D Marc Every line of code is a liability - Taka Muraoka
                  A doable project is one that is small enough to be done quickly and big enough to be interesting - Ken Orr
                  CPP Script Framework Design Page Latest AAL Article AAL blog

                  B Offline
                  B Offline
                  Brad Jennings
                  wrote on last edited by
                  #8

                  Marc Clifton wrote: There's a quote. Definitely, it would make a good sig.:) Brad Jennings "You're mom is nice. Mind if I go out with her?" - Jörgen Sigvardsson

                  C 1 Reply Last reply
                  0
                  • B Brad Jennings

                    Marc Clifton wrote: There's a quote. Definitely, it would make a good sig.:) Brad Jennings "You're mom is nice. Mind if I go out with her?" - Jörgen Sigvardsson

                    C Offline
                    C Offline
                    Chris Maunder
                    wrote on last edited by
                    #9

                    Brad Jennings wrote: "You're mom is nice. Mind if I go out with her?" That's so wrong... :) cheers, Chris Maunder

                    B J 2 Replies Last reply
                    0
                    • C Code4Food

                      I was going to incorporate that into some code I am writing in house... :) You guys really bashed the crap out of that one. I almost felt bad for him for writing it and posting it. Maybe he didn't know about _itoa and such, and thought he created the best thing since sliced bread! I hope he is not depressed, but reading once through "C++ for dummies" does not make you a programmer, you need to at least read it twice. We will probably see him in the VB site now. Code4Food ---- "There is no try; only do or do not" -Yoda

                      I Offline
                      I Offline
                      igor1960
                      wrote on last edited by
                      #10

                      Where can I read this article? I want to check if submited by me is better? "...Ability to type is not enough to become a Programmer. Unless you type in VB. But then again you have to type really fast..." Me

                      C 1 Reply Last reply
                      0
                      • I igor1960

                        Where can I read this article? I want to check if submited by me is better? "...Ability to type is not enough to become a Programmer. Unless you type in VB. But then again you have to type really fast..." Me

                        C Offline
                        C Offline
                        Code4Food
                        wrote on last edited by
                        #11

                        Thats what we are talking about it is gone. I don't know if it was the guy who deleted it, cause he was getting reamed, or if the almight Chris did :) Code4Food ---- "There is no try; only do or do not" -Yoda

                        1 Reply Last reply
                        0
                        • C Chris Maunder

                          Brad Jennings wrote: "You're mom is nice. Mind if I go out with her?" That's so wrong... :) cheers, Chris Maunder

                          B Offline
                          B Offline
                          Brad Jennings
                          wrote on last edited by
                          #12

                          Chris Maunder wrote: That's so wrong... ...and so good...;P Brad Jennings "You're mom is nice. Mind if I go out with her?" - Jörgen Sigvardsson

                          C 1 Reply Last reply
                          0
                          • B Brad Jennings

                            Chris Maunder wrote: That's so wrong... ...and so good...;P Brad Jennings "You're mom is nice. Mind if I go out with her?" - Jörgen Sigvardsson

                            C Offline
                            C Offline
                            Code4Food
                            wrote on last edited by
                            #13

                            MILF -American Pie ;) Code4Food ---- "There is no try; only do or do not" -Yoda

                            B 1 Reply Last reply
                            0
                            • C Code4Food

                              MILF -American Pie ;) Code4Food ---- "There is no try; only do or do not" -Yoda

                              B Offline
                              B Offline
                              Brad Jennings
                              wrote on last edited by
                              #14

                              Code4Food wrote: MILF -American Pie Oh yeah...all right.:cool: Brad Jennings "You're mom is nice. Mind if I go out with her?" - Jörgen Sigvardsson

                              1 Reply Last reply
                              0
                              • C Chris Maunder

                                Brad Jennings wrote: "You're mom is nice. Mind if I go out with her?" That's so wrong... :) cheers, Chris Maunder

                                J Offline
                                J Offline
                                Jorgen Sigvardsson
                                wrote on last edited by
                                #15

                                Chris Maunder wrote: That's so wrong It's only wrong if you go out with your own mother. :) -- Let me burn you down.

                                1 Reply Last reply
                                0
                                • C Chris Maunder

                                  'Beginner' articles are for beginners, not necessarily by beginners. cheers, Chris Maunder

                                  I Offline
                                  I Offline
                                  Ian Darling
                                  wrote on last edited by
                                  #16

                                  Chris Maunder wrote: 'Beginner' articles are for beginners, not necessarily by beginners. Is there an article on how to write good articles? It might be something you post in big red letters at the top of the article posting thing (or whatever it is you do, I haven't written any articles :-)) I had an idea for an article, but I thought it was too silly: "A practical introduction to web services in .NET" , drawing on RFC 2795[^] as inspiriation for what the example service(s) did :-D. -- Ian Darling

                                  C D 2 Replies Last reply
                                  0
                                  • I Ian Darling

                                    Chris Maunder wrote: 'Beginner' articles are for beginners, not necessarily by beginners. Is there an article on how to write good articles? It might be something you post in big red letters at the top of the article posting thing (or whatever it is you do, I haven't written any articles :-)) I had an idea for an article, but I thought it was too silly: "A practical introduction to web services in .NET" , drawing on RFC 2795[^] as inspiriation for what the example service(s) did :-D. -- Ian Darling

                                    C Offline
                                    C Offline
                                    Chris Maunder
                                    wrote on last edited by
                                    #17

                                    Marc Clifton has written an excellent guide[^]. cheers, Chris Maunder

                                    I 1 Reply Last reply
                                    0
                                    • C Chris Maunder

                                      Marc Clifton has written an excellent guide[^]. cheers, Chris Maunder

                                      I Offline
                                      I Offline
                                      Ian Darling
                                      wrote on last edited by
                                      #18

                                      Chris Maunder wrote: Marc Clifton has written an excellent guide :cool: Good read that. -- Ian Darling

                                      1 Reply Last reply
                                      0
                                      • I Ian Darling

                                        Chris Maunder wrote: 'Beginner' articles are for beginners, not necessarily by beginners. Is there an article on how to write good articles? It might be something you post in big red letters at the top of the article posting thing (or whatever it is you do, I haven't written any articles :-)) I had an idea for an article, but I thought it was too silly: "A practical introduction to web services in .NET" , drawing on RFC 2795[^] as inspiriation for what the example service(s) did :-D. -- Ian Darling

                                        D Offline
                                        D Offline
                                        Daniel Turini
                                        wrote on last edited by
                                        #19

                                        Ian Darling wrote: Is there an article on how to write good articles? It might be something you post in big red letters at the top of the article posting thing (or whatever it is you do, I haven't written any articles ) One of the things I've learned on The Lounge, is that messages written on red letters are promptly ignored. ORACLE One Real A$#h%le Called Lary Ellison

                                        I 1 Reply Last reply
                                        0
                                        • C Code4Food

                                          I was going to incorporate that into some code I am writing in house... :) You guys really bashed the crap out of that one. I almost felt bad for him for writing it and posting it. Maybe he didn't know about _itoa and such, and thought he created the best thing since sliced bread! I hope he is not depressed, but reading once through "C++ for dummies" does not make you a programmer, you need to at least read it twice. We will probably see him in the VB site now. Code4Food ---- "There is no try; only do or do not" -Yoda

                                          B Offline
                                          B Offline
                                          Bernhard
                                          wrote on last edited by
                                          #20

                                          .. because in austria (and in germany) the sign for the decimal point is "," (in most other countries "."). the problem is that it depends on the locale setting. now we really had some strange effects with the locale's setting (connectiong to our database changed these settings, due to an error in a lib). so we wrote something like: (without looking into the code)

                                          string s = any_number;
                                          s.change_all_dots_to_commas();
                                          d1 = atof (s);
                                          s.change_all_commas_to_dots();
                                          d2 = atof (s);
                                          if (any_number > 0)
                                            return max (d1,d2)
                                          else
                                            return min (d1,d2)
                                          

                                          hope you get the point. and it makes sense... cause now all our programs work perfectly.


                                          "I'm from the South Bronx, and I don't care what you say: those cows look dangerous."
                                          U.S. Secretary of State Colin Powell at George Bush's ranch in Texas

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups