What to reply!?
-
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?
-
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?
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[^]
-
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?
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
-
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?
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
-
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?
-
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
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.
-
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.
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
-
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?
-
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.
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)
-
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.
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
-
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?
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.
-
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?
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.