Bonjour 
je suis en train de travailler sur un projet C++ avec MFC .
Là je suis dans l'étape de définition de mes classes mais le probleme c'est que à chaque fois ou je compile le compilateur me ressort cette erreur que je ne comprends pas .
D'abord il s'agit de 
et l'erreur est :
	
	1>c:\program files\microsoft visual studio 8\vc\include\cstdlib(17) : error C2143: syntax error : missing ';' before 'namespace'
 et voila le fichier concerné:
	
	| 12
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 
 | // cstdlib standard header
#pragma once
#ifndef _CSTDLIB_
#define _CSTDLIB_
#include <yvals.h>
 
#ifdef _STD_USING
 #undef _STD_USING
  #include <stdlib.h>
 #define _STD_USING
 
#else /* _STD_USING */
 #include <stdlib.h>
 
#ifndef RC_INVOKED
 #if _GLOBAL_USING
_STD_BEGIN
using ::size_t; using ::div_t; using ::ldiv_t;
 
using ::abort; using ::abs; using ::atexit;
using ::atof; using ::atoi; using ::atol;
using ::bsearch; using ::calloc; using ::div;
using ::exit; using ::free; using ::getenv;
using ::labs; using ::ldiv; using ::malloc;
using ::mblen; using ::mbstowcs; using ::mbtowc;
using ::qsort; using ::rand; using ::realloc;
using ::srand; using ::strtod; using ::strtol;
using ::strtoul; using ::system;
using ::wcstombs; using ::wctomb;
_STD_END
 #endif /* _GLOBAL_USING */
#endif /* RC_INVOKED */
 
#endif /* _STD_USING */
#endif /* _CSTDLIB_ */
 
/*
 * Copyright (c) 1992-2005 by P.J. Plauger.  ALL RIGHTS RESERVED.
 * Consult your license regarding permissions and restrictions.
 V4.05:0009 */ | 
 
						
					
Partager