cs_XRaph
Messages postés15Date d'inscriptionmardi 24 février 2009StatutMembreDernière intervention18 juillet 2009
-
17 juil. 2009 à 10:57
cs_XRaph
Messages postés15Date d'inscriptionmardi 24 février 2009StatutMembreDernière intervention18 juillet 2009
-
18 juil. 2009 à 08:01
Bonjour,
j'ai un assez gros probleme:
lorsque j'essaye de compilé un programme cpp avec Visual studio ou dev-cpp, j'ai un série d'erreurs.
En essayant de compiler la calculette du super tutoriel bioopovega (http://www.cppfrance.com/codes/TUTORIEL_44595.aspx) j'ai eu exactement ces erreurs:
Compilateur: Default compiler
Exécution de g++.exe...
g++.exe "C:\Documents and Settings\raphael\Bureau\main.cpp" -o "C:\Documents and Settings\raphael\Bureau\main.exe" -I"C:\Dev-Cpp\lib\gcc\mingw32\3.4.2\include" -I"C:\Dev-Cpp\include\c++\3.4.2\backward" -I"C:\Dev-Cpp\include\c++\3.4.2\mingw32" -I"C:\Dev-Cpp\include\c++\3.4.2" -I"C:\Dev-Cpp\include" -L"C:\Dev-Cpp\lib"
C:\Documents and Settings\raphael\Bureau\main.cpp:111: error: expected constructor, destructor, or type conversion before '>>' token
C:\Documents and Settings\raphael\Bureau\main.cpp:111: error: expected `,' or `;' before '>>' token
C:\Documents and Settings\raphael\Bureau\main.cpp:117: error: expected constructor, destructor, or type conversion before '>>' token
C:\Documents and Settings\raphael\Bureau\main.cpp:117: error: expected `,' or `;' before '>>' token
C:\Documents and Settings\raphael\Bureau\main.cpp:123: error: expected constructor, destructor, or type conversion before '>>' token
C:\Documents and Settings\raphael\Bureau\main.cpp:123: error: expected `,' or `;' before '>>' token
C:\Documents and Settings\raphael\Bureau\main.cpp:127: error: expected unqualified-id before "if"
C:\Documents and Settings\raphael\Bureau\main.cpp:127: error: expected `,' or `;' before "if"
C:\Documents and Settings\raphael\Bureau\main.cpp:135: error: expected unqualified-id before "else"
C:\Documents and Settings\raphael\Bureau\main.cpp:135: error: expected `,' or `;' before "else"
C:\Documents and Settings\raphael\Bureau\main.cpp:145: error: expected unqualified-id before "else"
C:\Documents and Settings\raphael\Bureau\main.cpp:145: error: expected `,' or `;' before "else"
C:\Documents and Settings\raphael\Bureau\main.cpp:153: error: expected unqualified-id before "else"
C:\Documents and Settings\raphael\Bureau\main.cpp:153: error: expected `,' or `;' before "else"
C:\Documents and Settings\raphael\Bureau\main.cpp:164: error: expected constructor, destructor, or type conversion before '<<' token
C:\Documents and Settings\raphael\Bureau\main.cpp:164: error: expected `,' or `;' before '<<' token
Exécution terminée
J'esper que vous pourrez m'aider car c'est tres enervant...