Categories: MSDN / DotNet / Java / Scripts / Linux / PHP Ask - La ask - La Answer

What are the differences btwin...

What are the differences b'twin

CStringleDocTemplate* pDoc template
or
CStringleDocTemplate.pDoc template
then

m_pMainWnd->Update Window();

in terms of how computer responds to it?

One is for function to do something, the other is for function to do something too.

:WAVE:
[337 byte] By [Recoil] at [2007-11-11 10:07:44]
# 1 Re: What are the differences btwin...
First of all, 'template' is a reserved keyword in C++ so you can't used it as a user-defined variable's name. Secondly, CStringleDocTemplate.pDoc is illegal since the left side of the . is a class name, not an object's name. CStringleDocTemplate* pDoc decalres a pointer to CStringleDocTemplate whose name is pDoc.
Danny at 2007-11-11 20:59:25 >
# 2 Re: What are the differences btwin...
I meant the places you apply this BS in my quastion, not the text around it.
I mentioned it, so you are definitely not the sharpest tool in a shed.

I allready found answer myself.
Recoil at 2007-11-11 21:00:22 >
# 3 Re: What are the differences btwin...
Please keep your silly comments to youself and don't waste our time on silly questions. Also, it wouldn't hurt if you learned some English before C++. That would certainly make sure that your posts are more intelligible and have less typos. Finally, consider yourself banned for a week. It will give you plenty of time to read the forum's etiquette and learn some manners, hopefully.
Danny at 2007-11-11 21:01:25 >