User: cppuser7

  • Public profile

User profile: cppuser7

User info
User name:cppuser7
History
Joined:
Number of posts:5
Latest posts:

Macros with undefined number of parameters
PERFECT!! Thanks

Macros with undefined number of parameters
Hi, it's possible to write macros that accept an undefined number of parameters?

type_info as argument
Thanks, it works!! [code]void func(const type_info & ti) { [...] }[/code]

type_info as argument
[code]void func(type_info ti) { [...] } int main() { func(typeid(Ball)); }[/code] erro...

Nested structs...
I defined a new class Rect: [code]struct Rect { int x,y; int w,h; Rect(int x,int y,int w,i...

This user does not accept Private Messages