![]() |
| ||
| [c++] ISO C++ forbids declaration of _ with no type class C1{the compiler show me the following error: prova.cpp:14: error: expected ‘,’ or ‘...’ before ‘&’ token prova.cpp:14: error: ISO C++ forbids declaration of ‘C2’ with no type |
| ||
| Re: [c++] ISO C++ forbids declaration of _ with no type ISO C++ need you to explicitly mention the datatype after the 'const'. At the moment of defining C1, C2 is not defined. Read http://www.parashift.com/c++-faq-lit...html#faq-39.11 |
| All times are GMT -4. The time now is 8:27 am. |
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC