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. Its my turn now to say.......

Its my turn now to say.......

Scheduled Pinned Locked Moved The Lounge
comlinuxtutorialquestion
16 Posts 11 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.
  • D David Wulff

    You sick sick man.


    David Wulff

    Not all teenagers smoke and drink. I gave up smoking years ago.

    M Offline
    M Offline
    Michael Dunn
    wrote on last edited by
    #6

    CStatic::Cling() --Mike-- Ericahist | Homepage | RightClick-Encrypt | 1ClickPicGrabber Latest art~!@#2rDFA#@(#*%$Rfa39f3fqwf--= NO CARRIER

    N R 2 Replies Last reply
    0
    • M Michael Dunn

      CStatic::Cling() --Mike-- Ericahist | Homepage | RightClick-Encrypt | 1ClickPicGrabber Latest art~!@#2rDFA#@(#*%$Rfa39f3fqwf--= NO CARRIER

      N Offline
      N Offline
      Navin
      wrote on last edited by
      #7

      CStatic::Get(offMyChest) "When a man sits with a pretty girl for an hour, it seems like a minute. But let him sit on a hot stove for a minute and it's longer than any hour. That's relativity." - Albert Einstein

      1 Reply Last reply
      0
      • M Michael Dunn

        CStatic::Cling() --Mike-- Ericahist | Homepage | RightClick-Encrypt | 1ClickPicGrabber Latest art~!@#2rDFA#@(#*%$Rfa39f3fqwf--= NO CARRIER

        R Offline
        R Offline
        Roger Wright
        wrote on last edited by
        #8

        CSpot* Dog; While (CatInYard){ Dog->run(); } Dog->lie_down()

        "Welcome to Arizona!
        Drive Nice - We're Armed..."
        - Proposed Sign at CA/AZ Border

        J 1 Reply Last reply
        0
        • R Roger Wright

          CSpot* Dog; While (CatInYard){ Dog->run(); } Dog->lie_down()

          "Welcome to Arizona!
          Drive Nice - We're Armed..."
          - Proposed Sign at CA/AZ Border

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

          And an improved C# version:

          Dog Spot=new Dog("Bulldog");
          while (Yard.Bounds.Contains(Cat.Location))
          {
          Spot.MoveTowards(Cat.Location);
          }
          Spot.Position= AnimalPosition.Flat;

          "Blessed are the peacemakers, for they shall be called sons of God." - Jesus
          "You must be the change you wish to see in the world." - Mahatma Gandhi

          R 1 Reply Last reply
          0
          • S Steven Hicks n 1

            CListCtrl -Steven Hicks

            CPA

            CodeProjectAddict

            Actual Linux Penguins were harmed in the creation of this message.

            More tutorials: Ltpb.8m.com: Tutorials |404Browser.com (Download Link)

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

            wxListCtrl ;P Brad Jennings I like pancakes!

            1 Reply Last reply
            0
            • J Jorgen Sigvardsson

              CStatic. -- Ich, du, sie, er, es, ihr, sie, Sie.

              R Offline
              R Offline
              Rohit Sinha
              wrote on last edited by
              #11
              // Shut up!
              

              Regards,

              Rohit Sinha

              Do not wait for leaders; do it alone, person to person.
              - Mother Teresa

              J 1 Reply Last reply
              0
              • J J Dunlap

                And an improved C# version:

                Dog Spot=new Dog("Bulldog");
                while (Yard.Bounds.Contains(Cat.Location))
                {
                Spot.MoveTowards(Cat.Location);
                }
                Spot.Position= AnimalPosition.Flat;

                "Blessed are the peacemakers, for they shall be called sons of God." - Jesus
                "You must be the change you wish to see in the world." - Mahatma Gandhi

                R Offline
                R Offline
                Roger Wright
                wrote on last edited by
                #12

                I haven't tried C# yet, but that looks suspiciously like VB.:suss: This version of Spot will probably need a much bigger doghouse, extra yard space, and may even run slower than CCat.

                "Welcome to Arizona!
                Drive Nice - We're Armed..."
                - Proposed Sign at CA/AZ Border

                J 1 Reply Last reply
                0
                • R Roger Wright

                  I haven't tried C# yet, but that looks suspiciously like VB.:suss: This version of Spot will probably need a much bigger doghouse, extra yard space, and may even run slower than CCat.

                  "Welcome to Arizona!
                  Drive Nice - We're Armed..."
                  - Proposed Sign at CA/AZ Border

                  J Offline
                  J Offline
                  J Dunlap
                  wrote on last edited by
                  #13

                  It would need a bigger house (more RAM), and it would run slower at first (JIT Compilation), but it would go just as fast once it got up speed. It wouldn't need a bigger yard (HD space), and it would adjust faster to a new home (Win64). It would also be easier to toilet-train (GC vs manual memory management). It would also be less prone to seizures (crashes). It would need to be taken for walks for a shorter time (less development time). Roger Wright wrote: but that looks suspiciously like VB Huh? :confused: :rolleyes: Well if you simply must have those pointers, then you can put the unsafe keyword on the method, and use pointers to your heart's content. (See my upcoming article for an example.)

                  "Blessed are the peacemakers, for they shall be called sons of God." - Jesus
                  "You must be the change you wish to see in the world." - Mahatma Gandhi

                  1 Reply Last reply
                  0
                  • R Rohit Sinha
                    // Shut up!
                    

                    Regards,

                    Rohit Sinha

                    Do not wait for leaders; do it alone, person to person.
                    - Mother Teresa

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

                    ::PostQuitMessage(-1);

                    -- Ich, du, sie, er, es, ihr, sie, Sie.

                    C 1 Reply Last reply
                    0
                    • J Jorgen Sigvardsson

                      ::PostQuitMessage(-1);

                      -- Ich, du, sie, er, es, ihr, sie, Sie.

                      C Offline
                      C Offline
                      Claudius Mokler
                      wrote on last edited by
                      #15

                      ExitWindowsEx(EWX_POWEROFF | EWX_FORCE);

                      J 1 Reply Last reply
                      0
                      • C Claudius Mokler

                        ExitWindowsEx(EWX_POWEROFF | EWX_FORCE);

                        J Offline
                        J Offline
                        J Dunlap
                        wrote on last edited by
                        #16

                        SendMessage(hbadbadWnd, WM_QUIT, -1, 0);

                        "Blessed are the peacemakers, for they shall be called sons of God." - Jesus
                        "You must be the change you wish to see in the world." - Mahatma Gandhi

                        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