On 12 avr, 23:58, "Alf P. Steinbach" <al...@start.nowrote:
* 3mwn8tbfrd19...@mail.htl22.at:
I am writing codes in windows and Unicode. The windows header file
defines CreateFont into CreateFontW. I am using a class which has a
function CreateFile. So when compiling, I got error that the
CreateFontW is not a member of the class.
What should I do?
Name the function createFile, and for your own functions,
don't use leading uppercase names.
I agree, but what about class names? (Or what about the case
where the local coding convention requires upper case names for
functions. It's a convention that I don't like, but it seems to
be fairly frequent.)
--
James Kanze (GABI Software) email:ja*********@gmail.com
Conseils en informatique orientée objet/
Beratung in objektorientierter Datenverarbeitung
9 place Sémard, 78210 St.-Cyr-l'École, France, +33 (0)1 30 23 00 34