Re: compile error about void*

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



"George" <George@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:29D30E3E-A5A5-4172-8D60-EF13A3A6FE36@xxxxxxxxxxxxx
Do you find parentheses natural in this case, too? In general, in
C++ a type-id looks exactly like a variable declaration with the
actual

Type-id you mean data type? Like, int, void, void*?

I mean a syntactical construct (a sequence of tokens) used to name a
type.
--
With best wishes,
Igor Tandetnik

With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea. It is hard to be sure where they are going to
land, and it could be dangerous sitting under them as they fly
overhead. -- RFC 1925


.



Relevant Pages

  • Re: dynamic_cast does not work as specified
    ... then p is a pointer to an object of type SubThing. ... SubThing* via a C-style cast. ... virtual void ShowPURE; ... type-id must be a derived class of expression [note that the simple explanation could be ...
    (microsoft.public.vc.mfc)
  • C Implementation Of Java Interface Class
    ... class dog implements animal { ... typedef struct tagAnimal{ ... void deleteDog; ... same across the abstract data type and the concrete data type ...
    (comp.lang.c)
  • Portability question
    ... Below is some code I made to amuse myself and reverse bit order. ... comments or corrections are welcome, but I have some specific concerns. ... *ensure* that my data type had 32 bits? ... void print_binary ...
    (comp.lang.c)
  • Data type and stream format
    ... I'm working on a library that use another one (RtAudio) which is a ... in the callback I need to cast the void pinter to the correct ... If I have a buffer like: ... while if I open a 8-bit wave and I use 'signed short' like data type I ...
    (microsoft.public.win32.programmer.mmedia)
  • Re: Testing type of void*
    ... The void* type can hold a pointer of any data type, ... contains some sort of self-identifying tag, ...
    (microsoft.public.dotnet.languages.vc)