Re: ow to prevent macro expansion in C/C++?
- From: CBFalconer <cbfalconer@xxxxxxxxx>
- Date: Sat, 12 Apr 2008 19:34:19 -0400
Flash Gordon wrote:
3mwn8tbfrd19ph0@xxxxxxxxxxxxx wrote:
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?
You should learn that C and C++ are different languages which is
why there is also a group comp.lang.c++. C does not have classes,
so if you are getting errors about something not being a member
of a class you are almost certainly not using C.
Also, I strongly suspect that the things you are talking about
are Windows specific (I happen to know that Windows has a
CreateFile function) so you actually need to ask in a Windows
group where you will find a lot more Windows experts.
In fact, CreateFont and CreateFontW do not exist in the standard C
language, and thus are entirely off-topic in this newsgroup. If
you are willing to put up with the non-standard Windows system, you
should ask your questions in a Windows newsgroup.
--
[mail]: Chuck F (cbfalconer at maineline dot net)
[page]: <http://cbfalconer.home.att.net>
Try the download section.
** Posted from http://www.teranews.com **
.
- Follow-Ups:
- Re: ow to prevent macro expansion in C/C++?
- From: Flash Gordon
- Re: ow to prevent macro expansion in C/C++?
- References:
- ow to prevent macro expansion in C/C++?
- From: 3mwn8tbfrd19ph0
- Re: ow to prevent macro expansion in C/C++?
- From: Flash Gordon
- ow to prevent macro expansion in C/C++?
- Prev by Date: Re: "row major" - technically no such thing in C?
- Next by Date: Re: Problem with hdparam
- Previous by thread: Re: ow to prevent macro expansion in C/C++?
- Next by thread: Re: ow to prevent macro expansion in C/C++?
- Index(es):
Relevant Pages
|