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. Other Discussions
  3. The Weird and The Wonderful
  4. what is the difference in one _gc * and two _gc *?

what is the difference in one _gc * and two _gc *?

Scheduled Pinned Locked Moved The Weird and The Wonderful
question
10 Posts 6 Posters 55 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.
  • S Offline
    S Offline
    syedhasan
    wrote on last edited by
    #1

    __gc struct G { int i; }; __value struct V { int i; }; int main() { // defaults to V __gc * __nogc * ppV; V ** ppV; // defaults to V __gc * __nogc * __nogc * pppV; V *** pppV; // defaults to G __gc * __gc * ppG; G ** ppG; // defaults to G __gc * __gc * __nogc * pppG; G *** pppG; // defaults to G __gc * __gc * __nogc * __nogc * ppppG; G **** ppppG; }

    Thanks, Syed

    D P 2 Replies Last reply
    0
    • S syedhasan

      __gc struct G { int i; }; __value struct V { int i; }; int main() { // defaults to V __gc * __nogc * ppV; V ** ppV; // defaults to V __gc * __nogc * __nogc * pppV; V *** pppV; // defaults to G __gc * __gc * ppG; G ** ppG; // defaults to G __gc * __gc * __nogc * pppG; G *** pppG; // defaults to G __gc * __gc * __nogc * __nogc * ppppG; G **** ppppG; }

      Thanks, Syed

      D Offline
      D Offline
      DavidNohejl
      wrote on last edited by
      #2

      "Do not post programming questions in this forum. This forum is purely for amusement and discussions on code snippets. All actual programming questions will be removed." Marked as spam.


      "Throughout human history, we have been dependent on machines to survive. Fate, it seems, is not without a sense of irony. " - Morpheus "Real men use mspaint for writing code and notepad for designing graphics." - Anna-Jayne Metcalfe

      1 Reply Last reply
      0
      • S syedhasan

        __gc struct G { int i; }; __value struct V { int i; }; int main() { // defaults to V __gc * __nogc * ppV; V ** ppV; // defaults to V __gc * __nogc * __nogc * pppV; V *** pppV; // defaults to G __gc * __gc * ppG; G ** ppG; // defaults to G __gc * __gc * __nogc * pppG; G *** pppG; // defaults to G __gc * __gc * __nogc * __nogc * ppppG; G **** ppppG; }

        Thanks, Syed

        P Offline
        P Offline
        Pete OHanlon
        wrote on last edited by
        #3

        Wow - I wish I could say this was a new record. Somebody posting exactly question to the same forum, and ignoring the fact that the original was removed because this wasn't the right place to ask the question.

        Deja View - the feeling that you've seen this post before.

        V C 2 Replies Last reply
        0
        • P Pete OHanlon

          Wow - I wish I could say this was a new record. Somebody posting exactly question to the same forum, and ignoring the fact that the original was removed because this wasn't the right place to ask the question.

          Deja View - the feeling that you've seen this post before.

          V Offline
          V Offline
          Vikram A Punathambekar
          wrote on last edited by
          #4

          I think the OP is the epitome for my sig. :-D

          Cheers, Vıkram.


          Déjà moo - The feeling that you've seen this bull before. Join the CP group at NationStates. Password: byalmightybob

          P 1 Reply Last reply
          0
          • V Vikram A Punathambekar

            I think the OP is the epitome for my sig. :-D

            Cheers, Vıkram.


            Déjà moo - The feeling that you've seen this bull before. Join the CP group at NationStates. Password: byalmightybob

            P Offline
            P Offline
            Pete OHanlon
            wrote on last edited by
            #5

            :laugh::laugh::laugh:

            Deja View - the feeling that you've seen this post before.

            1 Reply Last reply
            0
            • P Pete OHanlon

              Wow - I wish I could say this was a new record. Somebody posting exactly question to the same forum, and ignoring the fact that the original was removed because this wasn't the right place to ask the question.

              Deja View - the feeling that you've seen this post before.

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

              i suspect a language issue.

              image processing toolkits | batch image processing | blogging

              S 1 Reply Last reply
              0
              • C Chris Losinger

                i suspect a language issue.

                image processing toolkits | batch image processing | blogging

                S Offline
                S Offline
                Shog9 0
                wrote on last edited by
                #7

                Yeah... in syedhasan's native language, MC++ translates to "Horrors". ...oh, wait, that'd be English... :doh:

                ----

                i hope you are feeling sleepy for people not calling you by the same.

                --BarnaKol on abusive words

                C 1 Reply Last reply
                0
                • S Shog9 0

                  Yeah... in syedhasan's native language, MC++ translates to "Horrors". ...oh, wait, that'd be English... :doh:

                  ----

                  i hope you are feeling sleepy for people not calling you by the same.

                  --BarnaKol on abusive words

                  C Offline
                  C Offline
                  Chris Losinger
                  wrote on last edited by
                  #8

                  Shog9 wrote:

                  MC++ translates to "Horrors".

                  hmmm. i thought MC++ was the new fat-n-proud rapper from Redmond...

                  image processing toolkits | batch image processing | blogging

                  S P 2 Replies Last reply
                  0
                  • C Chris Losinger

                    Shog9 wrote:

                    MC++ translates to "Horrors".

                    hmmm. i thought MC++ was the new fat-n-proud rapper from Redmond...

                    image processing toolkits | batch image processing | blogging

                    S Offline
                    S Offline
                    Shog9 0
                    wrote on last edited by
                    #9

                    Heh. :)

                    ----

                    i hope you are feeling sleepy for people not calling you by the same.

                    --BarnaKol on abusive words

                    1 Reply Last reply
                    0
                    • C Chris Losinger

                      Shog9 wrote:

                      MC++ translates to "Horrors".

                      hmmm. i thought MC++ was the new fat-n-proud rapper from Redmond...

                      image processing toolkits | batch image processing | blogging

                      P Offline
                      P Offline
                      Pete OHanlon
                      wrote on last edited by
                      #10

                      Hmmm. Coders from the hood. It's got a certain appeal to it.:-D

                      Deja View - the feeling that you've seen this post before.

                      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