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. So, what's on your clipboard, right now?

So, what's on your clipboard, right now?

Scheduled Pinned Locked Moved The Lounge
question
48 Posts 33 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 Daniel Turini

    If it's not too big, just paste it here, right now... Cheating not allowed. Can you tell I'm bored? :)

    L Offline
    L Offline
    Lost User
    wrote on last edited by
    #5

    typedef std::list<std::wstring> value_container;


    Kicking squealing Gucci little piggy.
    The Rob Blog

    1 Reply Last reply
    0
    • D Daniel Turini

      If it's not too big, just paste it here, right now... Cheating not allowed. Can you tell I'm bored? :)

      _ Offline
      _ Offline
      _AK_
      wrote on last edited by
      #6

      http://samples.gotdotnet.com/quickstart/aspplus/doc/webdataaccess.aspx Just gave someone this link in other forum. :)

      Best Regards, Apurva Kaushal

      1 Reply Last reply
      0
      • D Daniel Turini

        If it's not too big, just paste it here, right now... Cheating not allowed. Can you tell I'm bored? :)

        R Offline
        R Offline
        Rohde
        wrote on last edited by
        #7

        public string ContactPerson { get { return contactPerson; } }

        C 1 Reply Last reply
        0
        • _ _AK_

          No problem may be some new topic.. :) But where is that..

          Best Regards, Apurva Kaushal

          R Offline
          R Offline
          Rajesh R Subramanian
          wrote on last edited by
          #8

          Here[^] it is :)

          Nobody can give you wiser advice than yourself. - Cicero

          _ 1 Reply Last reply
          0
          • D Daniel Turini

            If it's not too big, just paste it here, right now... Cheating not allowed. Can you tell I'm bored? :)

            C Offline
            C Offline
            Christian Graus
            wrote on last edited by
            #9

            (this is NOT my code, I just made it compile for someone in the C++ forum) #include <string.h> #include <malloc.h> void funcB(const char ** names) { //the actual values names[0] and names[1] are to be accessed and used but they are null!!!???      //free names[0] and names[1] free( (char*)names[0]); free( (char*)names[1]); } void funcA() { int array = 4; char ** Names = new char *[array]; int next = 0; int i; //initialise for(i=0;i < array; ++ i) {     Names[i]=NULL; } char * list = "Abc"; Names[ next ] = (char*) malloc( sizeof( char )*( strlen( list ) + 1 ) ); memcpy( Names[ next ],list,sizeof( char )*( strlen( list ) + 1 ) ); ++next; list = "cdefg"; Names[ next ] = (char*) malloc( sizeof( char )*( strlen( list ) + 1 ) ); memcpy( Names[ next ],list,sizeof( char )*( strlen( list ) + 1 ) ); printf("vsp list got is %s\n", Names[0] ); printf("vsp list got is %s\n", Names[1] ); funcB((const char**)Names); } int main(int argc, char* argv[]) {     printf("Hello World!\n");     funcA();     return 0; }

            Christian Graus - C++ MVP

            R 1 Reply Last reply
            0
            • R Rohde

              public string ContactPerson { get { return contactPerson; } }

              C Offline
              C Offline
              Christian Graus
              wrote on last edited by
              #10

              Tsk tsk - that code is not CLSCompliant ( because VB sucks ).

              Christian Graus - C++ MVP

              R S 2 Replies Last reply
              0
              • D Daniel Turini

                If it's not too big, just paste it here, right now... Cheating not allowed. Can you tell I'm bored? :)

                D Offline
                D Offline
                Diagon Alley
                wrote on last edited by
                #11

                Hmm.... I just copied a file to my share I think. Let's see.... [file:///C:/cygwin/bin/make.exe](file:///C:/cygwin/bin/make.exe)  Interesting thread!! :-D

                --------------------------------------------------------------- Life? Life will tear you apart and kick and leave you on the ground. When it does. Get up. Keep getting up. Get up again. Because it's going to get better. You might come to find the one event you thought was the most disasterous event in your life turned out to be the best thing that could have ever happened to you. -- code-frog@codeproject

                _ D 2 Replies Last reply
                0
                • D Daniel Turini

                  If it's not too big, just paste it here, right now... Cheating not allowed. Can you tell I'm bored? :)

                  T Offline
                  T Offline
                  toxcct
                  wrote on last edited by
                  #12

                  may i paste in the soapbox ? :rolleyes:


                  You don't know where to start ? ask a good friend

                  [VisualCalc 3.0][Flags Beginner's Guide]

                  C 1 Reply Last reply
                  0
                  • T toxcct

                    may i paste in the soapbox ? :rolleyes:


                    You don't know where to start ? ask a good friend

                    [VisualCalc 3.0][Flags Beginner's Guide]

                    C Offline
                    C Offline
                    Christian Graus
                    wrote on last edited by
                    #13

                    Please do !!! ( meet you there... )

                    Christian Graus - C++ MVP

                    T 1 Reply Last reply
                    0
                    • R Rajesh R Subramanian

                      Here[^] it is :)

                      Nobody can give you wiser advice than yourself. - Cicero

                      _ Offline
                      _ Offline
                      _AK_
                      wrote on last edited by
                      #14

                      Got that... :)

                      Best Regards, Apurva Kaushal

                      1 Reply Last reply
                      0
                      • D Daniel Turini

                        If it's not too big, just paste it here, right now... Cheating not allowed. Can you tell I'm bored? :)

                        E Offline
                        E Offline
                        Ed Poore
                        wrote on last edited by
                        #15

                        event PropertyChangedEventHandler PropertyChanged;

                        1 Reply Last reply
                        0
                        • C Christian Graus

                          Please do !!! ( meet you there... )

                          Christian Graus - C++ MVP

                          T Offline
                          T Offline
                          toxcct
                          wrote on last edited by
                          #16

                          damn, i was joking... nothing worthing it actually :doh: my clipboard only contains copies/pastes i'm doing with my Siebel Symbolic String translation Workings.


                          You don't know where to start ? ask a good friend

                          [VisualCalc 3.0][Flags Beginner's Guide]

                          1 Reply Last reply
                          0
                          • D Daniel Turini

                            If it's not too big, just paste it here, right now... Cheating not allowed. Can you tell I'm bored? :)

                            M Offline
                            M Offline
                            Monty2
                            wrote on last edited by
                            #17

                            NTFS_PART_BOOT_SEC :rolleyes:


                            Gas prices suggest that they have taken out lead from gas and replaced it with gold :|

                            1 Reply Last reply
                            0
                            • D Daniel Turini

                              If it's not too big, just paste it here, right now... Cheating not allowed. Can you tell I'm bored? :)

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

                              http://www.codeproject.com/useritems/pointerlessimageproc.asp[^]  http://www.codeproject.com/useritems/queuelinearfloodfill.asp[^] http://www.codeproject.com/useritems/fastimagedrawing.asp[^] --- I was IM'ing links to my new articles to a friend. :->

                              1 Reply Last reply
                              0
                              • D Daniel Turini

                                If it's not too big, just paste it here, right now... Cheating not allowed. Can you tell I'm bored? :)

                                A Offline
                                A Offline
                                Amar Chaudhary
                                wrote on last edited by
                                #19

                                http://files.clanwarz.net/files/[^] and i am downloading some free cool stuff from there :):)

                                It is Good to be Important but! it is more Important to be Good [My Question]

                                1 Reply Last reply
                                0
                                • D Diagon Alley

                                  Hmm.... I just copied a file to my share I think. Let's see.... [file:///C:/cygwin/bin/make.exe](file:///C:/cygwin/bin/make.exe)  Interesting thread!! :-D

                                  --------------------------------------------------------------- Life? Life will tear you apart and kick and leave you on the ground. When it does. Get up. Keep getting up. Get up again. Because it's going to get better. You might come to find the one event you thought was the most disasterous event in your life turned out to be the best thing that could have ever happened to you. -- code-frog@codeproject

                                  _ Offline
                                  _ Offline
                                  _AK_
                                  wrote on last edited by
                                  #20

                                  Diagon Alley wrote:

                                  Interesting thread!!

                                  And getting more interesting as the replies are coming.. :)

                                  Best Regards, Apurva Kaushal

                                  1 Reply Last reply
                                  0
                                  • D Daniel Turini

                                    If it's not too big, just paste it here, right now... Cheating not allowed. Can you tell I'm bored? :)

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

                                    If it's not too big, just paste it here, right now... Cheating not allowed.

                                    -- Verletzen zerfetzen zersetzen zerstören Doch es darf nicht mir gehören Ich muss zerstören

                                    1 Reply Last reply
                                    0
                                    • C Christian Graus

                                      Tsk tsk - that code is not CLSCompliant ( because VB sucks ).

                                      Christian Graus - C++ MVP

                                      R Offline
                                      R Offline
                                      Rohde
                                      wrote on last edited by
                                      #22

                                      Yeah I know that, because of the casing :sigh: It's just, if I were to make it CLS compliant I'd have to use different names for the property and the field which I find annoying.


                                      FAULTLOG.TXT: File too large.

                                      C 1 Reply Last reply
                                      0
                                      • C Christian Graus

                                        (this is NOT my code, I just made it compile for someone in the C++ forum) #include <string.h> #include <malloc.h> void funcB(const char ** names) { //the actual values names[0] and names[1] are to be accessed and used but they are null!!!???      //free names[0] and names[1] free( (char*)names[0]); free( (char*)names[1]); } void funcA() { int array = 4; char ** Names = new char *[array]; int next = 0; int i; //initialise for(i=0;i < array; ++ i) {     Names[i]=NULL; } char * list = "Abc"; Names[ next ] = (char*) malloc( sizeof( char )*( strlen( list ) + 1 ) ); memcpy( Names[ next ],list,sizeof( char )*( strlen( list ) + 1 ) ); ++next; list = "cdefg"; Names[ next ] = (char*) malloc( sizeof( char )*( strlen( list ) + 1 ) ); memcpy( Names[ next ],list,sizeof( char )*( strlen( list ) + 1 ) ); printf("vsp list got is %s\n", Names[0] ); printf("vsp list got is %s\n", Names[1] ); funcB((const char**)Names); } int main(int argc, char* argv[]) {     printf("Hello World!\n");     funcA();     return 0; }

                                        Christian Graus - C++ MVP

                                        R Offline
                                        R Offline
                                        Rohde
                                        wrote on last edited by
                                        #23

                                        Christian Graus wrote:

                                        (this is NOT my code, I just made it compile for someone in the C++ forum)

                                        Don't be embarassed. Just because you're a MVP I'm sure you feel the need for the occasional "Hello, World!" program now and then. It's ok. We won't tell. :laugh:


                                        FAULTLOG.TXT: File too large.

                                        C 1 Reply Last reply
                                        0
                                        • R Rohde

                                          Yeah I know that, because of the casing :sigh: It's just, if I were to make it CLS compliant I'd have to use different names for the property and the field which I find annoying.


                                          FAULTLOG.TXT: File too large.

                                          C Offline
                                          C Offline
                                          Christian Graus
                                          wrote on last edited by
                                          #24

                                          I tend to follow the common convention of putting a _ before the private member. private int _count; public int Count {   get { // etc

                                          Christian Graus - C++ MVP

                                          R 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