Original Post
Hi, I'm using VC++ 2003 and I'm getting a compile error with the following code: #include MEMORYSTATUS memory; memset(&memory,sizeof(MEMORYSTATUS),0); cube.cpp(151) : error C2501: 'memset' : missing storage-class or type specifiers cube.cpp(151) : error C2365: 'memset' : redefinition; previous definition was a 'function' C:\Programmi\Microsoft Visual Studio .NET 2003\Vc7\include\string.h(102) : see declaration of 'memset' cube.cpp(151) : error C2078: too many initializers Any idea ? Thanks