Scoots wrote:
> Wow, they don't teach us much right in school do they? I started with
> C# (and know it quite well), so there were no header files, and we
> could plaster the standard namespace all around in that. Then I went
> to college and they taught us java, go figure.
Please, keep a little bit of context to ease the reading
anyway, you don't put using namespace std in a header because it would
be incpluded in all the source files that include that header.
> What FAQ would that be? MSDN?
>
no,
http://www.parashift.com/c++-faq-lite/
> Thanks for your help, but while I was hunting for that reference in
> the FAQ, I bumped into the CMapStringToPtr, and since I'm just taking
> a string key mapped to a CHARFORMAT*... I don't need any more
this looks as a MFC class, that is not part of the c++ standard.
> complex. This office is using Unicode, so the CString use is going to
> save me a lot of conversion (and it's really annoying).
if you need wide char, you can also consider std::wstring.
>
> Still, at school I don't code in MFC, so thank you for help, I was
> rather mystified.
Well, the code you posted wasn't about MFC. Fortunately, I would say,
because MFC is OT here
Regards,
Zeppe