typeof keyword

Write here if you have problems with your C++ source code

Moderator: Board moderators

Post Reply
jasiu--
New poster
Posts: 3
Joined: Tue May 31, 2005 8:49 pm

typeof keyword

Post by jasiu-- »

hi,
i got an compiler error, because i had used the 'typeof' keyword. why is this keyword not supported? will anything like '_typeof' work? what is the g++ version used by the online judge?
misof
A great helper
Posts: 430
Joined: Wed Jun 09, 2004 1:31 pm

Post by misof »

__typeof should work (double underscore at the beginning)
Post Reply

Return to “C++”