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. Ever want to slap your compiler?

Ever want to slap your compiler?

Scheduled Pinned Locked Moved The Lounge
questionc++comarchitecturehelp
17 Posts 12 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
    Chris Maunder
    wrote on last edited by
    #1

    Probably the most obvious question ever. Maybe it's lack of coffee but whehn you've made some massive changes across 20 projects and 2 databases and everything's perfect - spot on - you've even commented the damn code - and then you go to run it and you get an error saying the command can't function until the connection is opened. You have a connection object setup. You have a command waiting for that connection object. All you forgot to do was call connection.Open(). Is it time to go for a walk when you start yelling at the compiler "do I have to do everything for you??" cheers, Chris Maunder

    CodeProject.com : C++ MVP

    R J T A M 8 Replies Last reply
    0
    • C Chris Maunder

      Probably the most obvious question ever. Maybe it's lack of coffee but whehn you've made some massive changes across 20 projects and 2 databases and everything's perfect - spot on - you've even commented the damn code - and then you go to run it and you get an error saying the command can't function until the connection is opened. You have a connection object setup. You have a command waiting for that connection object. All you forgot to do was call connection.Open(). Is it time to go for a walk when you start yelling at the compiler "do I have to do everything for you??" cheers, Chris Maunder

      CodeProject.com : C++ MVP

      R Offline
      R Offline
      Ryan Binns
      wrote on last edited by
      #2

      Chris Maunder wrote:

      Is it time to go for a walk when you start yelling at the compiler "do I have to do everything for you??"

      Look at it this way... Would you really want the compiler second-guessing your program? "Nah, we don't need that if(ptr == NULL) check" ;)

      Ryan

      "Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late" John Nichol "Point Of Impact"

      C 1 Reply Last reply
      0
      • R Ryan Binns

        Chris Maunder wrote:

        Is it time to go for a walk when you start yelling at the compiler "do I have to do everything for you??"

        Look at it this way... Would you really want the compiler second-guessing your program? "Nah, we don't need that if(ptr == NULL) check" ;)

        Ryan

        "Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late" John Nichol "Point Of Impact"

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

        Right now I'd like it to cough politely, ask me if I would mind if it went ahead and opened the connection, and then offered to go grab me a coffee. :suss: cheers, Chris Maunder

        CodeProject.com : C++ MVP

        R P 2 Replies Last reply
        0
        • C Chris Maunder

          Right now I'd like it to cough politely, ask me if I would mind if it went ahead and opened the connection, and then offered to go grab me a coffee. :suss: cheers, Chris Maunder

          CodeProject.com : C++ MVP

          R Offline
          R Offline
          Ryan Binns
          wrote on last edited by
          #4

          :laugh: Now that would be a good compiler!

          Ryan

          "Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late" John Nichol "Point Of Impact"

          1 Reply Last reply
          0
          • C Chris Maunder

            Probably the most obvious question ever. Maybe it's lack of coffee but whehn you've made some massive changes across 20 projects and 2 databases and everything's perfect - spot on - you've even commented the damn code - and then you go to run it and you get an error saying the command can't function until the connection is opened. You have a connection object setup. You have a command waiting for that connection object. All you forgot to do was call connection.Open(). Is it time to go for a walk when you start yelling at the compiler "do I have to do everything for you??" cheers, Chris Maunder

            CodeProject.com : C++ MVP

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

            Chris Maunder wrote:

            "do I have to do everything for you??"

            Yes. And if you want it to optimize the code, you have to cuddle it too. :)

            C F 2 Replies Last reply
            0
            • J Jorgen Sigvardsson

              Chris Maunder wrote:

              "do I have to do everything for you??"

              Yes. And if you want it to optimize the code, you have to cuddle it too. :)

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

              That's so, so wrong. cheers, Chris Maunder

              CodeProject.com : C++ MVP

              1 Reply Last reply
              0
              • C Chris Maunder

                Probably the most obvious question ever. Maybe it's lack of coffee but whehn you've made some massive changes across 20 projects and 2 databases and everything's perfect - spot on - you've even commented the damn code - and then you go to run it and you get an error saying the command can't function until the connection is opened. You have a connection object setup. You have a command waiting for that connection object. All you forgot to do was call connection.Open(). Is it time to go for a walk when you start yelling at the compiler "do I have to do everything for you??" cheers, Chris Maunder

                CodeProject.com : C++ MVP

                T Offline
                T Offline
                TheGreatAndPowerfulOz
                wrote on last edited by
                #7

                hmm, Chris, sounds like you need to, uhh, get some, wink wink. ---sig---
                Silence is the voice of complicity Strange women lying in ponds distributing swords is no basis for a system of government. -- Vincent Reynolds Might I suggest that the universe was always the size of the cosmos. It is just that at one point the cosmos was the size of a marble. -- Colin Angus Mackay PS. If you don't understand my sarcasm -- go to hell!

                J 1 Reply Last reply
                0
                • C Chris Maunder

                  Right now I'd like it to cough politely, ask me if I would mind if it went ahead and opened the connection, and then offered to go grab me a coffee. :suss: cheers, Chris Maunder

                  CodeProject.com : C++ MVP

                  P Offline
                  P Offline
                  Paul Watson
                  wrote on last edited by
                  #8

                  Chris Maunder wrote:

                  and then offered to go grab me a coffee

                  Sounds like a Java compiler... *groan* *ducks* regards, Paul Watson Ireland Feed Henry!

                  Shog9 wrote:

                  eh, stop bugging me about it, give it a couple of days, see what happens.

                  G 1 Reply Last reply
                  0
                  • T TheGreatAndPowerfulOz

                    hmm, Chris, sounds like you need to, uhh, get some, wink wink. ---sig---
                    Silence is the voice of complicity Strange women lying in ponds distributing swords is no basis for a system of government. -- Vincent Reynolds Might I suggest that the universe was always the size of the cosmos. It is just that at one point the cosmos was the size of a marble. -- Colin Angus Mackay PS. If you don't understand my sarcasm -- go to hell!

                    J Offline
                    J Offline
                    JimmyRopes
                    wrote on last edited by
                    #9

                    We all can use some, uhh, wink wink every now and again. I'm on-line therefore I am. JimmyRopes

                    1 Reply Last reply
                    0
                    • C Chris Maunder

                      Probably the most obvious question ever. Maybe it's lack of coffee but whehn you've made some massive changes across 20 projects and 2 databases and everything's perfect - spot on - you've even commented the damn code - and then you go to run it and you get an error saying the command can't function until the connection is opened. You have a connection object setup. You have a command waiting for that connection object. All you forgot to do was call connection.Open(). Is it time to go for a walk when you start yelling at the compiler "do I have to do everything for you??" cheers, Chris Maunder

                      CodeProject.com : C++ MVP

                      A Offline
                      A Offline
                      Anna Jayne Metcalfe
                      wrote on last edited by
                      #10

                      I know the feeling, though for me it seems to happen every time I go within 5 miles of VCProjectEngineLibrary... :shudder: Anna :rose: Currently working mostly on: Visual Lint :cool: Anna's Place | Tears and Laughter "Be yourself - not what others think you should be" - Marcia Graesch "Anna's just a sexy-looking lesbian tart" - A friend, trying to wind me up. It didn't work.

                      1 Reply Last reply
                      0
                      • C Chris Maunder

                        Probably the most obvious question ever. Maybe it's lack of coffee but whehn you've made some massive changes across 20 projects and 2 databases and everything's perfect - spot on - you've even commented the damn code - and then you go to run it and you get an error saying the command can't function until the connection is opened. You have a connection object setup. You have a command waiting for that connection object. All you forgot to do was call connection.Open(). Is it time to go for a walk when you start yelling at the compiler "do I have to do everything for you??" cheers, Chris Maunder

                        CodeProject.com : C++ MVP

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

                        Chris Maunder wrote:

                        do I have to do everything for you??"

                        You forget, a computer is like a woman. Yes, you have to do everything for her. ;P Marc Pensieve Functional Entanglement vs. Code Entanglement Static Classes Make For Rigid Architectures Some people believe what the bible says. Literally. At least [with Wikipedia] you have the chance to correct the wiki -- Jörgen Sigvardsson

                        1 Reply Last reply
                        0
                        • C Chris Maunder

                          Probably the most obvious question ever. Maybe it's lack of coffee but whehn you've made some massive changes across 20 projects and 2 databases and everything's perfect - spot on - you've even commented the damn code - and then you go to run it and you get an error saying the command can't function until the connection is opened. You have a connection object setup. You have a command waiting for that connection object. All you forgot to do was call connection.Open(). Is it time to go for a walk when you start yelling at the compiler "do I have to do everything for you??" cheers, Chris Maunder

                          CodeProject.com : C++ MVP

                          F Offline
                          F Offline
                          feline_dracoform
                          wrote on last edited by
                          #12

                          *um* maybe i am just getting a little over worked, but i passed through the "wanting" phase some months ago. i am now passing out of the far side of the "shouting and searing" phase, and am moving into the "beat computer with wrist rest" phase zen is the art of being at one with the two'ness

                          1 Reply Last reply
                          0
                          • J Jorgen Sigvardsson

                            Chris Maunder wrote:

                            "do I have to do everything for you??"

                            Yes. And if you want it to optimize the code, you have to cuddle it too. :)

                            F Offline
                            F Offline
                            feline_dracoform
                            wrote on last edited by
                            #13

                            i am going to sit here, and simply look all cute and innocent, pretending that this is going way over my head :) zen is the art of being at one with the two'ness

                            J 1 Reply Last reply
                            0
                            • F feline_dracoform

                              i am going to sit here, and simply look all cute and innocent, pretending that this is going way over my head :) zen is the art of being at one with the two'ness

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

                              That cute and innocent looks of your's.. you've got to be hiding something! :suss: :-D

                              1 Reply Last reply
                              0
                              • C Chris Maunder

                                Probably the most obvious question ever. Maybe it's lack of coffee but whehn you've made some massive changes across 20 projects and 2 databases and everything's perfect - spot on - you've even commented the damn code - and then you go to run it and you get an error saying the command can't function until the connection is opened. You have a connection object setup. You have a command waiting for that connection object. All you forgot to do was call connection.Open(). Is it time to go for a walk when you start yelling at the compiler "do I have to do everything for you??" cheers, Chris Maunder

                                CodeProject.com : C++ MVP

                                D Offline
                                D Offline
                                dandy72
                                wrote on last edited by
                                #15

                                > Is it time to go for a walk when you start yelling at the compiler "do I have to do everything for you??" I guess this is one of those "you know what the problem is, why don't you automatically fix it" type of moments, huh? As for wanting to slap the compiler...yeah, funny how you should ask this now. Why, just yesterday, VC decided that right-clicking in the editor window should result in msdev.exe crashing...

                                1 Reply Last reply
                                0
                                • P Paul Watson

                                  Chris Maunder wrote:

                                  and then offered to go grab me a coffee

                                  Sounds like a Java compiler... *groan* *ducks* regards, Paul Watson Ireland Feed Henry!

                                  Shog9 wrote:

                                  eh, stop bugging me about it, give it a couple of days, see what happens.

                                  G Offline
                                  G Offline
                                  glitch177k
                                  wrote on last edited by
                                  #16

                                  lol...nice....

                                  1 Reply Last reply
                                  0
                                  • C Chris Maunder

                                    Probably the most obvious question ever. Maybe it's lack of coffee but whehn you've made some massive changes across 20 projects and 2 databases and everything's perfect - spot on - you've even commented the damn code - and then you go to run it and you get an error saying the command can't function until the connection is opened. You have a connection object setup. You have a command waiting for that connection object. All you forgot to do was call connection.Open(). Is it time to go for a walk when you start yelling at the compiler "do I have to do everything for you??" cheers, Chris Maunder

                                    CodeProject.com : C++ MVP

                                    S Offline
                                    S Offline
                                    Sameers Javed
                                    wrote on last edited by
                                    #17

                                    We are doing a lot, a little should be done by him, I guess :laugh: Need custom software? Contact DevelopersINN[^] Need to add reminders for your Outlook emails? Try Outlook Personal Assistant[^]

                                    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