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. General Programming
  3. C#
  4. Inheriting a template class [modified]

Inheriting a template class [modified]

Scheduled Pinned Locked Moved C#
14 Posts 7 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.
  • S Subin Mavunkal

    Hi

    modified on Friday, August 19, 2011 5:11 AM

    B Offline
    B Offline
    BobJanova
    wrote on last edited by
    #3

    Please don't cross post. In addition, this seems like a question which could be answered with a simple search.

    1 Reply Last reply
    0
    • S Subin Mavunkal

      Hi

      modified on Friday, August 19, 2011 5:11 AM

      realJSOPR Offline
      realJSOPR Offline
      realJSOP
      wrote on last edited by
      #4

      Subin Mavunkal wrote:

      Sorry.I already posted the same question on managed c++ section :~
       
      Hi ,
      I have a template class like
      template
      public ref class MyBaseclass.

      I need to inherit this class on another one like.

      public ref class Derivedclass:MybaseClass.

      Could you please let me know whats the syntax for doing like this ?Sorry I am new to VC++.

      I ain't gonna say "please". Use your freakin' head - this is the C# forum. What makes you think that any rule of posting makes it okay to cross post into totally inappropriate forums? "Sorry" just don't cut it.

      ".45 ACP - because shooting twice is just silly" - JSOP, 2010
      -----
      You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
      -----
      "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass." - Dale Earnhardt, 1997

      S 1 Reply Last reply
      0
      • realJSOPR realJSOP

        Subin Mavunkal wrote:

        Sorry.I already posted the same question on managed c++ section :~
         
        Hi ,
        I have a template class like
        template
        public ref class MyBaseclass.

        I need to inherit this class on another one like.

        public ref class Derivedclass:MybaseClass.

        Could you please let me know whats the syntax for doing like this ?Sorry I am new to VC++.

        I ain't gonna say "please". Use your freakin' head - this is the C# forum. What makes you think that any rule of posting makes it okay to cross post into totally inappropriate forums? "Sorry" just don't cut it.

        ".45 ACP - because shooting twice is just silly" - JSOP, 2010
        -----
        You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
        -----
        "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass." - Dale Earnhardt, 1997

        S Offline
        S Offline
        Subin Mavunkal
        wrote on last edited by
        #5

        :)

        modified on Friday, August 19, 2011 5:12 AM

        M F B realJSOPR 4 Replies Last reply
        0
        • S Subin Mavunkal

          :)

          modified on Friday, August 19, 2011 5:12 AM

          M Offline
          M Offline
          Mycroft Holmes
          wrote on last edited by
          #6

          Subin Mavunkal wrote:

          but try to respect others

          Well thats a bit rude, asking someone else to respect others when you abuse one of the most fundamental rules here. You made a mistake, and therefore you have been smacked.

          Never underestimate the power of human stupidity RAH

          1 Reply Last reply
          0
          • S Subin Mavunkal

            :)

            modified on Friday, August 19, 2011 5:12 AM

            F Offline
            F Offline
            Firo Atrum Ventus
            wrote on last edited by
            #7

            Subin Mavunkal wrote:

            being a good programmer in life is nothing

            Careful there, This is a programming forum.

            Subin Mavunkal wrote:

            I know extra talenteddumb men who lost their mind on simple things

            Fixed.

            Subin Mavunkal wrote:

            Is this the way to give answer? or teach something.

            Yeah, this will teach you to not cross post into inappropriate forum.

            Subin Mavunkal wrote:

            I thought that there are programmers who are familiar with more than one language.

            Yes, there are, and they'll visit each of their favorite languages forum, if they have time.

            Subin Mavunkal wrote:

            And that forum to vc++ seems like it is totally inactive

            Be patient.

            Excuse me for my improper grammar and typos. It's because English is my primary language, not my first language. My first languages are C# and Java. VB, ASP, JS, PHP and SQL are my second language. Indonesian came as my third language. My fourth language? I'm still creating it, I'll let you know when it's done! :-D

            S 1 Reply Last reply
            0
            • F Firo Atrum Ventus

              Subin Mavunkal wrote:

              being a good programmer in life is nothing

              Careful there, This is a programming forum.

              Subin Mavunkal wrote:

              I know extra talenteddumb men who lost their mind on simple things

              Fixed.

              Subin Mavunkal wrote:

              Is this the way to give answer? or teach something.

              Yeah, this will teach you to not cross post into inappropriate forum.

              Subin Mavunkal wrote:

              I thought that there are programmers who are familiar with more than one language.

              Yes, there are, and they'll visit each of their favorite languages forum, if they have time.

              Subin Mavunkal wrote:

              And that forum to vc++ seems like it is totally inactive

              Be patient.

              Excuse me for my improper grammar and typos. It's because English is my primary language, not my first language. My first languages are C# and Java. VB, ASP, JS, PHP and SQL are my second language. Indonesian came as my third language. My fourth language? I'm still creating it, I'll let you know when it's done! :-D

              S Offline
              S Offline
              Subin Mavunkal
              wrote on last edited by
              #8

              :)

              modified on Friday, August 19, 2011 5:12 AM

              L 1 Reply Last reply
              0
              • S Subin Mavunkal

                :)

                modified on Friday, August 19, 2011 5:12 AM

                B Offline
                B Offline
                BobJanova
                wrote on last edited by
                #9

                The forum you want is this one[^] which has the same activity as the C# one. Your question had nothing to do with managed C++ or the CLI.

                but try to respect others

                Try to respect the rules of forums you post in.

                1 Reply Last reply
                0
                • S Subin Mavunkal

                  :)

                  modified on Friday, August 19, 2011 5:12 AM

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

                  Had you bothered to read the guidelines[^] before you started, and selected the forum appropriate to your problem (this[^] or this[^]), then you would have got a reasonable response. You have also been a member of CodeProject long enough to have learned this by yourself.

                  Unrequited desire is character building. OriginalGriff

                  realJSOPR 1 Reply Last reply
                  0
                  • S Subin Mavunkal

                    :)

                    modified on Friday, August 19, 2011 5:12 AM

                    realJSOPR Offline
                    realJSOPR Offline
                    realJSOP
                    wrote on last edited by
                    #11

                    Subin Mavunkal wrote:

                    Bro.

                    I ain't your bro, and your attempt at placating me with non-existent familiarity offends me. Follow the rules, or prepare to be harassed. It's as simple as that.

                    ".45 ACP - because shooting twice is just silly" - JSOP, 2010
                    -----
                    You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
                    -----
                    "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass." - Dale Earnhardt, 1997

                    S 1 Reply Last reply
                    0
                    • L Lost User

                      Had you bothered to read the guidelines[^] before you started, and selected the forum appropriate to your problem (this[^] or this[^]), then you would have got a reasonable response. You have also been a member of CodeProject long enough to have learned this by yourself.

                      Unrequited desire is character building. OriginalGriff

                      realJSOPR Offline
                      realJSOPR Offline
                      realJSOP
                      wrote on last edited by
                      #12

                      I think his turban is wrapped too tight. You're wasting your time.

                      ".45 ACP - because shooting twice is just silly" - JSOP, 2010
                      -----
                      You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
                      -----
                      "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass." - Dale Earnhardt, 1997

                      L 1 Reply Last reply
                      0
                      • realJSOPR realJSOP

                        I think his turban is wrapped too tight. You're wasting your time.

                        ".45 ACP - because shooting twice is just silly" - JSOP, 2010
                        -----
                        You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
                        -----
                        "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass." - Dale Earnhardt, 1997

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

                        John Simmons / outlaw programmer wrote:

                        You're wasting your time.

                        I know, but somehow I feel better for it. ;)

                        Unrequited desire is character building. OriginalGriff

                        1 Reply Last reply
                        0
                        • realJSOPR realJSOP

                          Subin Mavunkal wrote:

                          Bro.

                          I ain't your bro, and your attempt at placating me with non-existent familiarity offends me. Follow the rules, or prepare to be harassed. It's as simple as that.

                          ".45 ACP - because shooting twice is just silly" - JSOP, 2010
                          -----
                          You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
                          -----
                          "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass." - Dale Earnhardt, 1997

                          S Offline
                          S Offline
                          Subin Mavunkal
                          wrote on last edited by
                          #14

                          :)

                          modified on Friday, August 19, 2011 5:13 AM

                          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