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. What to reply!?

What to reply!?

Scheduled Pinned Locked Moved The Lounge
learningc++question
12 Posts 10 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.
  • P Offline
    P Offline
    ProIT
    wrote on last edited by
    #1

    Rcvd and email with some contents pasted below:

    I'm a beginner programmer in vc++, I have some questions & i wish from
    you to answer me, i'll be very obliged if you answer me.

    The first is: what does these lines of code mean:

    CSingleDocTemplate* pDocTemplate;
    pDocTemplate = new CSingleDocTemplate(
    IDR_MAINFRAME,
    RUNTIME_CLASS(CMyAppDoc),
    RUNTIME_CLASS(CMainFrame), // main SDI frame window
    RUNTIME_CLASS(CMyAppView));
    AddDocTemplate(pDocTemplate);

    espesially the second line

    I have some ideas of replies: 1) Why not buy a book 2) Why not search the web 3) Fetch MSDN 4) Don't VC++ documentations come with the VC++ finally, I'd like your suggestion on Should I reply! If yes, What should I reply?

    D C B P S 7 Replies Last reply
    0
    • P ProIT

      Rcvd and email with some contents pasted below:

      I'm a beginner programmer in vc++, I have some questions & i wish from
      you to answer me, i'll be very obliged if you answer me.

      The first is: what does these lines of code mean:

      CSingleDocTemplate* pDocTemplate;
      pDocTemplate = new CSingleDocTemplate(
      IDR_MAINFRAME,
      RUNTIME_CLASS(CMyAppDoc),
      RUNTIME_CLASS(CMainFrame), // main SDI frame window
      RUNTIME_CLASS(CMyAppView));
      AddDocTemplate(pDocTemplate);

      espesially the second line

      I have some ideas of replies: 1) Why not buy a book 2) Why not search the web 3) Fetch MSDN 4) Don't VC++ documentations come with the VC++ finally, I'd like your suggestion on Should I reply! If yes, What should I reply?

      D Offline
      D Offline
      Daniel Turini
      wrote on last edited by
      #2

      He's a beginner programmer. You were one some day, remember? It's a desperate call for help. Why not help him? If you do think he should fetch MSDN, point him a link and explain WHAT is MSDN, and why it's good to browse it for answers. Suggest him one or two books. My latest article: SQL Server DO's and DONT's[^]

      1 Reply Last reply
      0
      • P ProIT

        Rcvd and email with some contents pasted below:

        I'm a beginner programmer in vc++, I have some questions & i wish from
        you to answer me, i'll be very obliged if you answer me.

        The first is: what does these lines of code mean:

        CSingleDocTemplate* pDocTemplate;
        pDocTemplate = new CSingleDocTemplate(
        IDR_MAINFRAME,
        RUNTIME_CLASS(CMyAppDoc),
        RUNTIME_CLASS(CMainFrame), // main SDI frame window
        RUNTIME_CLASS(CMyAppView));
        AddDocTemplate(pDocTemplate);

        espesially the second line

        I have some ideas of replies: 1) Why not buy a book 2) Why not search the web 3) Fetch MSDN 4) Don't VC++ documentations come with the VC++ finally, I'd like your suggestion on Should I reply! If yes, What should I reply?

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

        give him a link to the CP C++ forum. -c


        There's one easy way to prove the effectiveness of 'letting the market decide' when it comes to environmental protection. It's spelt 'S-U-V'. --Holgate, from Plastic

        Smaller Animals Software

        1 Reply Last reply
        0
        • P ProIT

          Rcvd and email with some contents pasted below:

          I'm a beginner programmer in vc++, I have some questions & i wish from
          you to answer me, i'll be very obliged if you answer me.

          The first is: what does these lines of code mean:

          CSingleDocTemplate* pDocTemplate;
          pDocTemplate = new CSingleDocTemplate(
          IDR_MAINFRAME,
          RUNTIME_CLASS(CMyAppDoc),
          RUNTIME_CLASS(CMainFrame), // main SDI frame window
          RUNTIME_CLASS(CMyAppView));
          AddDocTemplate(pDocTemplate);

          espesially the second line

          I have some ideas of replies: 1) Why not buy a book 2) Why not search the web 3) Fetch MSDN 4) Don't VC++ documentations come with the VC++ finally, I'd like your suggestion on Should I reply! If yes, What should I reply?

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

          Help him out dude, I didn't know what that meant 5 months ago. I guess you could say I'm a noob too. Later. Brad Jennings Forgive me if this is a weird post but I'm really drunk right now

          P 1 Reply Last reply
          0
          • P ProIT

            Rcvd and email with some contents pasted below:

            I'm a beginner programmer in vc++, I have some questions & i wish from
            you to answer me, i'll be very obliged if you answer me.

            The first is: what does these lines of code mean:

            CSingleDocTemplate* pDocTemplate;
            pDocTemplate = new CSingleDocTemplate(
            IDR_MAINFRAME,
            RUNTIME_CLASS(CMyAppDoc),
            RUNTIME_CLASS(CMainFrame), // main SDI frame window
            RUNTIME_CLASS(CMyAppView));
            AddDocTemplate(pDocTemplate);

            espesially the second line

            I have some ideas of replies: 1) Why not buy a book 2) Why not search the web 3) Fetch MSDN 4) Don't VC++ documentations come with the VC++ finally, I'd like your suggestion on Should I reply! If yes, What should I reply?

            P Offline
            P Offline
            peterchen
            wrote on last edited by
            #5

            I usually reply (in a friendly tone) like this, recommending (in this case) a book, CP, and EE.


            skulls don't kiss  for an explanation - wait for the vacation photos!   [sighist]

            1 Reply Last reply
            0
            • B Brad Jennings

              Help him out dude, I didn't know what that meant 5 months ago. I guess you could say I'm a noob too. Later. Brad Jennings Forgive me if this is a weird post but I'm really drunk right now

              P Offline
              P Offline
              ProIT
              wrote on last edited by
              #6

              Let's say OK, What should I start with: 1) The document template issue 2) The Runtime class issue 3) The difference of SDI and MDI issues 4) The pointers in C++ issue 5) The new operator issue and then tell me, how detailed should I answer each issue?! This would probably take me 6 months!? I am teaching MFC, and from my experience it takes about 3 months to probably have a grip on MFC programming with a live instructor, imagine without an instructor or resources like a book. There are too many issues in VC++, especially if you want the MFC part mastered. I am not saying that I will not help him, all I said is why not start on the list I have given first as start up resources.

              R C B 3 Replies Last reply
              0
              • P ProIT

                Let's say OK, What should I start with: 1) The document template issue 2) The Runtime class issue 3) The difference of SDI and MDI issues 4) The pointers in C++ issue 5) The new operator issue and then tell me, how detailed should I answer each issue?! This would probably take me 6 months!? I am teaching MFC, and from my experience it takes about 3 months to probably have a grip on MFC programming with a live instructor, imagine without an instructor or resources like a book. There are too many issues in VC++, especially if you want the MFC part mastered. I am not saying that I will not help him, all I said is why not start on the list I have given first as start up resources.

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

                I've been where he is now for a long time, except that I have access to all the docs. It's frustrating as can be, expecially if, like me, a live instructor is not an option - they don't exist here. Take a bit of time to explain the basics, especially the links to other information others have recommended. Such assistance can be a real godsend for someone struggling to learn VC++ and MFC. I'm accustomed to adding a new language to my toolbox every few months, but VC++ is a whole new ballgame, orders of magnitude more difficult to master on your own. "When in danger, fear, or doubt, run in circles, scream and shout!" - Lorelei and Lapis Lazuli Long

                1 Reply Last reply
                0
                • P ProIT

                  Rcvd and email with some contents pasted below:

                  I'm a beginner programmer in vc++, I have some questions & i wish from
                  you to answer me, i'll be very obliged if you answer me.

                  The first is: what does these lines of code mean:

                  CSingleDocTemplate* pDocTemplate;
                  pDocTemplate = new CSingleDocTemplate(
                  IDR_MAINFRAME,
                  RUNTIME_CLASS(CMyAppDoc),
                  RUNTIME_CLASS(CMainFrame), // main SDI frame window
                  RUNTIME_CLASS(CMyAppView));
                  AddDocTemplate(pDocTemplate);

                  espesially the second line

                  I have some ideas of replies: 1) Why not buy a book 2) Why not search the web 3) Fetch MSDN 4) Don't VC++ documentations come with the VC++ finally, I'd like your suggestion on Should I reply! If yes, What should I reply?

                  S Offline
                  S Offline
                  Stephane Rodriguez
                  wrote on last edited by
                  #8

                  Point this guy to the MSDN tutorial on SDI/MDI[^].

                  1 Reply Last reply
                  0
                  • P ProIT

                    Let's say OK, What should I start with: 1) The document template issue 2) The Runtime class issue 3) The difference of SDI and MDI issues 4) The pointers in C++ issue 5) The new operator issue and then tell me, how detailed should I answer each issue?! This would probably take me 6 months!? I am teaching MFC, and from my experience it takes about 3 months to probably have a grip on MFC programming with a live instructor, imagine without an instructor or resources like a book. There are too many issues in VC++, especially if you want the MFC part mastered. I am not saying that I will not help him, all I said is why not start on the list I have given first as start up resources.

                    C Offline
                    C Offline
                    Christopher Duncan
                    wrote on last edited by
                    #9

                    You'll never help people who want you to do their work for them, as they want something for nothing, not help in improving themselves. If you give them one thing on a silver platter, they'll just come back and ask for another, without lifting a finger. They'll also have conveniently forgotten to return the original platter, thus diminishing your silver stock further. However, other people are willing to do their own work, but are just overwhelmed and don't know where to start. I still remember back in the VC++ 1.0 days when I kicked out my first App Wizard project and looked at all the unfamiliar MFC code it generated. I thought, "Crap, how am I ever going to get a handle on this?" (Of course, after 12 years it's become apparent that I never did. :-D) I would echo the suggestions made by others. Don't try to do his work for him, but do point him directly to resources (specific MSDN links, good books, articles, CP, etc.) that will help him find his own way. If he can't take those resources and at least get a little further down the road on his own, then he'll never make it as a programmer and you've done him a favor by helping him realize this. Our world changes too much every day. If you're going to make a living in this neighborhood, you simply must develop the skills to learn on your own from available resources. Chistopher Duncan Author - The Career Programmer: Guerilla Tactics for an Imperfect World (Apress)

                    1 Reply Last reply
                    0
                    • P ProIT

                      Let's say OK, What should I start with: 1) The document template issue 2) The Runtime class issue 3) The difference of SDI and MDI issues 4) The pointers in C++ issue 5) The new operator issue and then tell me, how detailed should I answer each issue?! This would probably take me 6 months!? I am teaching MFC, and from my experience it takes about 3 months to probably have a grip on MFC programming with a live instructor, imagine without an instructor or resources like a book. There are too many issues in VC++, especially if you want the MFC part mastered. I am not saying that I will not help him, all I said is why not start on the list I have given first as start up resources.

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

                      Sorry, I don't know what I was thinking last night. I totally agree, you have to understand a whole lot of stuff before you can even begin to imagine understanding what he asks. I think maybe what I was thinking was just to explain the basics. Later. Brad Jennings

                      1 Reply Last reply
                      0
                      • P ProIT

                        Rcvd and email with some contents pasted below:

                        I'm a beginner programmer in vc++, I have some questions & i wish from
                        you to answer me, i'll be very obliged if you answer me.

                        The first is: what does these lines of code mean:

                        CSingleDocTemplate* pDocTemplate;
                        pDocTemplate = new CSingleDocTemplate(
                        IDR_MAINFRAME,
                        RUNTIME_CLASS(CMyAppDoc),
                        RUNTIME_CLASS(CMainFrame), // main SDI frame window
                        RUNTIME_CLASS(CMyAppView));
                        AddDocTemplate(pDocTemplate);

                        espesially the second line

                        I have some ideas of replies: 1) Why not buy a book 2) Why not search the web 3) Fetch MSDN 4) Don't VC++ documentations come with the VC++ finally, I'd like your suggestion on Should I reply! If yes, What should I reply?

                        C Offline
                        C Offline
                        ColinDavies
                        wrote on last edited by
                        #11

                        Tell him the truth. The code is MS propaganda. And he should delete it. Regardz Colin J Davies

                        Sonork ID 100.9197:Colin

                        You are the intrepid one, always willing to leap into the fray! A serious character flaw, I might add, but entertaining. Said by Roger Wright about me.

                        1 Reply Last reply
                        0
                        • P ProIT

                          Rcvd and email with some contents pasted below:

                          I'm a beginner programmer in vc++, I have some questions & i wish from
                          you to answer me, i'll be very obliged if you answer me.

                          The first is: what does these lines of code mean:

                          CSingleDocTemplate* pDocTemplate;
                          pDocTemplate = new CSingleDocTemplate(
                          IDR_MAINFRAME,
                          RUNTIME_CLASS(CMyAppDoc),
                          RUNTIME_CLASS(CMainFrame), // main SDI frame window
                          RUNTIME_CLASS(CMyAppView));
                          AddDocTemplate(pDocTemplate);

                          espesially the second line

                          I have some ideas of replies: 1) Why not buy a book 2) Why not search the web 3) Fetch MSDN 4) Don't VC++ documentations come with the VC++ finally, I'd like your suggestion on Should I reply! If yes, What should I reply?

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

                          Tell him that it'll format C:\ It could be fun! -- If I had the ability to smooth talk like John Simmons, this post would be less sarcastic and more to the point.

                          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