Announcement

Collapse
No announcement yet.

Extracting pixel data from a bmp

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #16
    OK, now I think I know what you want.

    I could write one real easy... It'd be in .NET but I could do it.

    You want?

    Tom P.

    Comment


    • #17
      It's okay. I'm already like halfway done...

      Thanks, though.
      12-17-10 Mohamed Bouazizi NEVER FORGET
      Stadtluft Macht Frei
      Killing it is the new killing it
      Ultima Ratio Regum

      Comment


      • #18
        Okay. This was my first time doing anything in C++ (did **** in C before, along with FORTRAN and IDL)

        C++ is the ****ing ****.
        12-17-10 Mohamed Bouazizi NEVER FORGET
        Stadtluft Macht Frei
        Killing it is the new killing it
        Ultima Ratio Regum

        Comment


        • #19
          Teh good kind of **** or the bad kind of ****?
          You just wasted six ... no, seven ... seconds of your life reading this sentence.

          Comment


          • #20
            Originally posted by KrazyHorse
            Okay. This was my first time doing anything in C++ (did **** in C before, along with FORTRAN and IDL)

            C++ is the ****ing ****.
            If you think C++ is awesome, C# is Godly.
            "The issue is there are still many people out there that use religion as a crutch for bigotry and hate. Like Ben."
            Ben Kenobi: "That means I'm doing something right. "

            Comment


            • #21
              Originally posted by Krill
              Teh good kind of **** or the bad kind of ****?
              The good kind.

              "****" = bad
              "the ****" = good
              12-17-10 Mohamed Bouazizi NEVER FORGET
              Stadtluft Macht Frei
              Killing it is the new killing it
              Ultima Ratio Regum

              Comment


              • #22
                Are you doing C-style C++ or going all-out with object oriented, polymorphic goodness?
                "The issue is there are still many people out there that use religion as a crutch for bigotry and hate. Like Ben."
                Ben Kenobi: "That means I'm doing something right. "

                Comment


                • #23
                  I googled for how to do a couple of things that were annoying to do in C (i.e. I knew how to do them in C, but searched for how to do them in C++) and it seems much easier in C++ (less monkeying around with the innards when all I need is something simple)
                  12-17-10 Mohamed Bouazizi NEVER FORGET
                  Stadtluft Macht Frei
                  Killing it is the new killing it
                  Ultima Ratio Regum

                  Comment


                  • #24
                    Originally posted by KrazyHorse
                    I googled for how to do a couple of things that were annoying to do in C (i.e. I knew how to do them in C, but searched for how to do them in C++) and it seems much easier in C++ (less monkeying around with the innards when all I need is something simple)
                    So you advanced from 1970s era languages to a 1980s era one. I can't wait til you discover Java (90s) and then C# (2000s).
                    "The issue is there are still many people out there that use religion as a crutch for bigotry and hate. Like Ben."
                    Ben Kenobi: "That means I'm doing something right. "

                    Comment


                    • #25
                      I thought C was 80s and C++ 90s
                      12-17-10 Mohamed Bouazizi NEVER FORGET
                      Stadtluft Macht Frei
                      Killing it is the new killing it
                      Ultima Ratio Regum

                      Comment


                      • #26
                        Fortran: 1957
                        C: 1972
                        C++: 1983
                        Java: 1995
                        C#: 2001
                        "The issue is there are still many people out there that use religion as a crutch for bigotry and hate. Like Ben."
                        Ben Kenobi: "That means I'm doing something right. "

                        Comment


                        • #27
                          Originally posted by Asher
                          If you think C++ is awesome, C# is Godly.
                          QFT

                          Comment


                          • #28
                            My dad taught a class in C++ in the late 80s

                            JM
                            Jon Miller-
                            I AM.CANADIAN
                            GENERATION 35: The first time you see this, copy it into your sig on any forum and add 1 to the generation. Social experiment.

                            Comment


                            • #29
                              I still have nightmare about pointers
                              What?

                              Comment


                              • #30
                                Originally posted by Richelieu
                                I still have nightmare about pointers
                                Oddly enough, this is one of the times pointers come in handy.

                                I am having such a time with WorldPainter because I can't resize and repaint the bitmap as fast as I want to (I want a red square to highlight the plot you are pointing at, is that so hard?).

                                In C++ I'd just get the pointer to the screen data and the offset and jump to the appropriate byte, color it, replace the old value, and put the whole thing back.

                                Without pointers I'm stuck wandering through the entire structure and BOY, is it costly.

                                So I try to use DirectX... it doesn't support 2D anymore!

                                The other problem I have is - to everyone that knows how to do this stuff, it's easy. So they say "Declare a surface and use it." ... WHAT?!? And if you ask them to explain themselves they get mad.

                                However, for 90% of the stuff programmers use it for, C# is IT!

                                Now to get someone to pay me for doing C# and I'll be all set.

                                Tom P.

                                Comment

                                Working...
                                X